X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonHelp.mod%2Fcmd_neonhelp_stats.c;h=3a3c9727547dd0db96629bf8c72cf3496caad158;hb=78e040af3fcc36ab684611c0f98b4381ff420878;hp=0d1d9a4f2db3e71fb021b947ac0d7fc056c45b85;hpb=706e48b1e666054030c491d864f740071e390038;p=NeonServV5.git diff --git a/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c b/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c index 0d1d9a4..3a3c972 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.3 +/* cmd_neonhelp_stats.c - NeonServ v5.5 * 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); } }