removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / global.mod / cmd_global_bots.c
index 57ab15384ac2dacdcaabc7b4742e1898139a6ae4..eb9aae85064e44f6a3f2f3217a017bbba36756f6 100644 (file)
@@ -1,4 +1,4 @@
-/* cmd_global_bots.c - NeonServ v5.3
+/* cmd_global_bots.c - NeonServ v5.4
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -67,7 +67,7 @@ CMD_BIND(global_cmd_bots) {
     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);
 }
\ No newline at end of file