removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / global.mod / cmd_global_commands.c
index 6186c7f3a5b78c2a9146aa106bdb3f8d0890f4dc..1c4b3c6954ff647cfff3307dc2eb0d2ba711239b 100644 (file)
@@ -76,7 +76,7 @@ CMD_BIND(global_cmd_commands) {
     //send the table
     char **table_lines = table_end(table);
     for(i = 0; i < table->entrys; i++) {
-        reply(getTextBot(), user, table_lines[i]);
+        reply(textclient, user, table_lines[i]);
     }
     table_free(table);
 }