removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git] / src / modules / global.mod / cmd_global_motd.c
index 512567d995b81cc711eb83526510f786292960e2..f58e683bc1f8948e15ae353003517f2713d510ad 100644 (file)
@@ -30,7 +30,7 @@ CMD_BIND(global_cmd_motd) {
     while (fgets(line, MAXLEN, f) != NULL) {
         if((a = strchr(line, '\n'))) 
             *a = '\0';
-        reply(getTextBot(), user, "%s", line);
+        reply(textclient, user, "%s", line);
     }
     fclose(f);
 }
\ No newline at end of file