projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.5.0 ***
[NeonServV5.git]
/
src
/
modules
/
NeonHelp.mod
/
cmd_neonhelp_stats.c
diff --git
a/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c
b/src/modules/NeonHelp.mod/cmd_neonhelp_stats.c
index 0d1d9a4f2db3e71fb021b947ac0d7fc056c45b85..3a3c9727547dd0db96629bf8c72cf3496caad158 100644
(file)
--- 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
* 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) {
}
}
if(!caccess) {
- reply(
getTextBot()
, user, "MODCMD_ACCESS_DENIED");
+ reply(
textclient
, user, "MODCMD_ACCESS_DENIED");
return;
}
if(argc > 0) {
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++) {
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)
}
if(table->entrys == 1)
- reply(
getTextBot()
, user, "NS_TABLE_NONE");
+ reply(
textclient
, user, "NS_TABLE_NONE");
table_free(table);
}
}
table_free(table);
}
}