X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2Fglobal.mod%2Fcmd_global_meminfo.c;h=2685798a29ab8cb96edea532df39c7187078f01a;hb=HEAD;hp=eb08ef566950c05cfc9a976a205d625253dcbc78;hpb=902ebfe5551be2daa3edf8141bcee91f62c0a5e0;p=NeonServV5.git diff --git a/src/modules/global.mod/cmd_global_meminfo.c b/src/modules/global.mod/cmd_global_meminfo.c index eb08ef5..2685798 100644 --- a/src/modules/global.mod/cmd_global_meminfo.c +++ b/src/modules/global.mod/cmd_global_meminfo.c @@ -1,4 +1,4 @@ -/* cmd_global_meminfo.c - NeonServ v5.3 +/* cmd_global_meminfo.c - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -24,7 +24,7 @@ CMD_BIND(global_cmd_meminfo) { #ifndef ENABLE_MEMORY_DEBUG - reply(getTextBot(), user, "NS_MEMINFO_DISABLED"); + reply(textclient, user, "NS_MEMINFO_DISABLED"); #else if(argc > 0) { struct Table *table; @@ -70,7 +70,7 @@ CMD_BIND(global_cmd_meminfo) { 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); } else { @@ -110,7 +110,7 @@ CMD_BIND(global_cmd_meminfo) { 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); }