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
/
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 a3e4f736a58850e374e7a9d020602c1c6d2840e6..9deeafa9d1e6db9879d6710058dc2d132eb0a629 100644
(file)
--- a/
src/modules/global.mod/cmd_global_netinfo.c
+++ b/
src/modules/global.mod/cmd_global_netinfo.c
@@
-1,4
+1,4
@@
-/* cmd_global_netinfo.c - NeonServ v5.
3
+/* cmd_global_netinfo.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
@@
-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);
}