removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / global.mod / cmd_global_version.c
index 4524de0443f8691a525217e79f1174455384392e..67d8c91f6db09da38c9118bc3786bce234d088f3 100644 (file)
 */
 
 CMD_BIND(global_cmd_version) {
-    reply(getTextBot(), user, "\002NeonServ %s.%d\002 (%s), written by pk910", NEONSERV_VERSION, get_patchlevel(), (strcmp(get_revision(), "") ? get_revision() : "-"));
-    reply(getTextBot(), user, "Build (#%s) %s (%s lines, " COMPILER ")", get_compilation(), get_creation(), get_codelines());
-    reply(getTextBot(), user, "NeonServ can be found on: http://dev.pk910.de/NeonServ");
+    reply(textclient, user, "\002NeonServ %s.%d\002 (%s), written by pk910", NEONSERV_VERSION, get_patchlevel(), (strcmp(get_revision(), "") ? get_revision() : "-"));
+    reply(textclient, user, "Build (#%s) %s (%s lines, " COMPILER ")", get_compilation(), get_creation(), get_codelines());
+    reply(textclient, user, "NeonServ can be found on: http://dev.pk910.de/NeonServ");
     //helpers :D
-    reply(getTextBot(), user, "special thanks to:");
-    reply(getTextBot(), user, "  Zer0n, TeaTow, Phil  (testing and ideas current version)");
-    reply(getTextBot(), user, "  Buschman, Zer0n, Neon  (translating current version)");
-    reply(getTextBot(), user, "  Patschi95, DerGrinch, Darkfly, Zer0n, Buschman  (testing and ideas older versions)");
-    reply(getTextBot(), user, "  Buschman, Georg, richard  (translating older versions)");
-    reply(getTextBot(), user, "and all the other users that reported all these nasty bugs :D");
-    reply(getTextBot(), user, "\002If you found a bug or if you have a good idea report it on http://dev.pk910.de/BugTrack\002");
+    reply(textclient, user, "special thanks to:");
+    reply(textclient, user, "  Zer0n, TeaTow, Phil  (testing and ideas current version)");
+    reply(textclient, user, "  Buschman, Zer0n, Neon  (translating current version)");
+    reply(textclient, user, "  Patschi95, DerGrinch, Darkfly, Zer0n, Buschman  (testing and ideas older versions)");
+    reply(textclient, user, "  Buschman, Georg, richard  (translating older versions)");
+    reply(textclient, user, "and all the other users that reported all these nasty bugs :D");
+    reply(textclient, user, "\002If you found a bug or if you have a good idea report it on http://dev.pk910.de/BugTrack\002");
     
 }
\ No newline at end of file