diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bahamut.c | 2 | ||||
-rw-r--r-- | src/dreamforge.c | 2 | ||||
-rw-r--r-- | src/hybrid.c | 2 | ||||
-rw-r--r-- | src/messages.c | 4 | ||||
-rw-r--r-- | src/plexus.c | 2 | ||||
-rw-r--r-- | src/ptlink.c | 2 | ||||
-rw-r--r-- | src/rageircd.c | 2 | ||||
-rw-r--r-- | src/ratbox.c | 2 | ||||
-rw-r--r-- | src/shadowircd.c | 2 | ||||
-rw-r--r-- | src/solidircd.c | 2 | ||||
-rw-r--r-- | src/ultimate2.c | 2 | ||||
-rw-r--r-- | src/ultimate3.c | 2 | ||||
-rw-r--r-- | src/unreal31.c | 2 | ||||
-rw-r--r-- | src/unreal32.c | 2 | ||||
-rw-r--r-- | src/viagra.c | 2 |
15 files changed, 16 insertions, 16 deletions
diff --git a/src/bahamut.c b/src/bahamut.c index a54cd4988..28b8ec79a 100644 --- a/src/bahamut.c +++ b/src/bahamut.c @@ -1391,7 +1391,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/dreamforge.c b/src/dreamforge.c index c4b3dc5f0..9174353f7 100644 --- a/src/dreamforge.c +++ b/src/dreamforge.c @@ -1168,7 +1168,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/hybrid.c b/src/hybrid.c index 763bca0fe..55c1cf69b 100644 --- a/src/hybrid.c +++ b/src/hybrid.c @@ -1022,7 +1022,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } 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; } diff --git a/src/plexus.c b/src/plexus.c index 538b19a8f..e008f5018 100644 --- a/src/plexus.c +++ b/src/plexus.c @@ -1104,7 +1104,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/ptlink.c b/src/ptlink.c index 7528351f9..d7c848953 100644 --- a/src/ptlink.c +++ b/src/ptlink.c @@ -1368,7 +1368,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/rageircd.c b/src/rageircd.c index f6b968496..196243ca3 100644 --- a/src/rageircd.c +++ b/src/rageircd.c @@ -1040,7 +1040,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/ratbox.c b/src/ratbox.c index b8db22dd6..f2b329e4a 100644 --- a/src/ratbox.c +++ b/src/ratbox.c @@ -1205,7 +1205,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { send_cmd((UseTS6 ? TS6SID : ServerName), - "372 %s :- MOTD file not found! Please " + "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/shadowircd.c b/src/shadowircd.c index 0f2920016..d9cd1c7d0 100644 --- a/src/shadowircd.c +++ b/src/shadowircd.c @@ -1185,7 +1185,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { send_cmd(TS6SID, - "372 %s :- MOTD file not found! Please " + "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/solidircd.c b/src/solidircd.c index 4cf78e85a..a4bbbb714 100644 --- a/src/solidircd.c +++ b/src/solidircd.c @@ -1415,7 +1415,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/ultimate2.c b/src/ultimate2.c index 149e94236..efc9171e9 100644 --- a/src/ultimate2.c +++ b/src/ultimate2.c @@ -1512,7 +1512,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/ultimate3.c b/src/ultimate3.c index b4f9c3176..b6a840a48 100644 --- a/src/ultimate3.c +++ b/src/ultimate3.c @@ -1053,7 +1053,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/unreal31.c b/src/unreal31.c index 254e3137c..d8db1d259 100644 --- a/src/unreal31.c +++ b/src/unreal31.c @@ -567,7 +567,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/unreal32.c b/src/unreal32.c index 3a520e086..d2051b160 100644 --- a/src/unreal32.c +++ b/src/unreal32.c @@ -854,7 +854,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } diff --git a/src/viagra.c b/src/viagra.c index de1ef6074..529dfc704 100644 --- a/src/viagra.c +++ b/src/viagra.c @@ -1527,7 +1527,7 @@ void anope_cmd_372(char *source, char *msg) void anope_cmd_372_error(char *source) { - send_cmd(ServerName, "372 %s :- MOTD file not found! Please " + send_cmd(ServerName, "422 %s :- MOTD file not found! Please " "contact your IRC administrator.", source); } |