projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git]
/
src
/
modules
/
global.mod
/
cmd_global_netinfo.c
diff --git
a/src/modules/global.mod/cmd_global_netinfo.c
b/src/modules/global.mod/cmd_global_netinfo.c
index b07fdd90828d9e73a2b2dc3cf8f8b9304ad975b6..a976e004c09556171b5c55893fb184a7802ebdf3 100644
(file)
--- a/
src/modules/global.mod/cmd_global_netinfo.c
+++ b/
src/modules/global.mod/cmd_global_netinfo.c
@@
-22,7
+22,7
@@
*/
CMD_BIND(global_cmd_netinfo) {
*/
CMD_BIND(global_cmd_netinfo) {
- reply(
getTextBot()
, user, "NS_NETINFO_HEADER");
+ reply(
textclient
, user, "NS_NETINFO_HEADER");
char tmp[MAXLEN];
struct Table *table;
table = table_init(2, 19, 0);
char tmp[MAXLEN];
struct Table *table;
table = table_init(2, 19, 0);
@@
-170,7
+170,7
@@
CMD_BIND(global_cmd_netinfo) {
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]);
}
table_free(table);
}
}
table_free(table);
}