Merge branch 'development'
[NeonServV5.git] / src / modules / global.mod / cmd_global_commands.c
index 6186c7f3a5b78c2a9146aa106bdb3f8d0890f4dc..fa5f26d838c284e4b22116397b0972d657cbcca9 100644 (file)
@@ -1,4 +1,4 @@
-/* cmd_global_commands.c - NeonServ v5.4
+/* cmd_global_commands.c - NeonServ v5.6
  * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -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);
 }