projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.5.0 ***
[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..ccbe7dd2adcfff098c97e2159a9c9bb64e237bcd 100644
(file)
--- a/
src/modules/global.mod/cmd_global_motd.c
+++ b/
src/modules/global.mod/cmd_global_motd.c
@@
-1,4
+1,4
@@
-/* cmd_global_motd.c - NeonServ v5.
4
+/* cmd_global_motd.c - NeonServ v5.
5
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-30,7
+30,7
@@
CMD_BIND(global_cmd_motd) {
while (fgets(line, MAXLEN, f) != NULL) {
if((a = strchr(line, '\n')))
*a = '\0';
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
}
fclose(f);
}
\ No newline at end of file