X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonHelp.mod%2Fcmd_neonhelp_stats.c;h=1628b2b9ce285cc18668b2e466cc6bec6e4c1632;hb=HEAD;hp=673180137d4e65adee9f888bafab0225f2f3031a;hpb=689da1db7e2517c187ce76c6c553e20d630a7f36;p=NeonServV5.git diff --git a/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c b/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c index 6731801..1628b2b 100644 --- a/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c +++ b/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c @@ -1,4 +1,4 @@ -/* cmd_neonhelp_stats.c - NeonServ v5.4 +/* cmd_neonhelp_stats.c - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -53,7 +53,7 @@ CMD_BIND(neonhelp_cmd_stats) { } } if(!caccess) { - reply(getTextBot(), user, "MODCMD_ACCESS_DENIED"); + reply(textclient, user, "MODCMD_ACCESS_DENIED"); return; } if(argc > 0) { @@ -79,10 +79,10 @@ CMD_BIND(neonhelp_cmd_stats) { char **table_lines = table_end(table); int i; for(i = 0; i < table->entrys; i++) { - reply(getTextBot(), user, table_lines[i]); + reply(textclient, user, table_lines[i]); } if(table->entrys == 1) - reply(getTextBot(), user, "NS_TABLE_NONE"); + reply(textclient, user, "NS_TABLE_NONE"); table_free(table); } }