projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed getTextBot() function and added textbot parameter to the CMD_BIND header...
[NeonServV5.git]
/
src
/
modules
/
global.mod
/
cmd_global_motd.c
diff --git
a/src/modules/global.mod/cmd_global_motd.c
b/src/modules/global.mod/cmd_global_motd.c
index 512567d995b81cc711eb83526510f786292960e2..f58e683bc1f8948e15ae353003517f2713d510ad 100644
(file)
--- a/
src/modules/global.mod/cmd_global_motd.c
+++ b/
src/modules/global.mod/cmd_global_motd.c
@@
-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