diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-16 20:24:47 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-16 20:24:47 +0000 |
commit | e8275af54abfcc0df890ccebdd4ccb95b451099a (patch) | |
tree | 35508e8074ab756aa97308a9a5794998c32bc979 /src/messages.c | |
parent | 1fec2a9abdd824a41ab1b975bd95829cb44a7d0e (diff) |
BUILD : 1.7.8 (632) BUGS : 315 NOTES : 422 is sent if the file dosnt exist, 375 and 376 are no longer sent, if the error numeric is sent.
git-svn-id: svn://svn.anope.org/anope/trunk@632 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@480 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/messages.c')
-rw-r--r-- | src/messages.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages.c b/src/messages.c index e6ad168f7..695acbd8b 100644 --- a/src/messages.c +++ b/src/messages.c @@ -93,17 +93,17 @@ int m_motd(char *source) } f = fopen(MOTDFilename, "r"); - anope_cmd_375(source); if (f) { + anope_cmd_375(source); while (fgets(buf, sizeof(buf), f)) { buf[strlen(buf) - 1] = 0; anope_cmd_372(source, buf); } fclose(f); + anope_cmd_376(source); } else { anope_cmd_372_error(source); } - anope_cmd_376(source); return MOD_CONT; } |