mirror of
https://github.com/anope/anope.git
synced 2026-07-02 04:06:39 +02:00
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
This commit is contained in:
parent
1fec2a9abd
commit
e8275af54a
@@ -8,6 +8,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
|
||||
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
|
||||
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
|
||||
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
|
||||
03/16 F Send the correct numeric for a missing MOTD file. [#315]
|
||||
03/16 F Wrong modes being set in certain cases with SJOIN. [#320]
|
||||
03/14 F Two normalized strings not being freed. [#314]
|
||||
03/14 F Various minor mistakes (see bugreport for full list). [#313]
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -8,10 +8,14 @@
|
||||
VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="8"
|
||||
VERSION_BUILD="631"
|
||||
VERSION_BUILD="632"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# BUILD : 1.7.8 (631)
|
||||
# BUGS : 320
|
||||
# NOTES : Fixed an error in the big if/else if thing when setting the modes on SJOIN, should now give correct modes
|
||||
|
||||
Reference in New Issue
Block a user