summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorviper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-13 21:35:58 +0000
committerviper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-13 21:35:58 +0000
commitc417bc89efb7c21e9804d0ddfe87eda57baae87f (patch)
tree7fefefb1560591da754794b143149f269c7c3677
parent41bd111094b56457005571336af8e76bcabac0a2 (diff)
BUILD : 1.7.21 (1434) BUGS : 937 NOTES : Applied patch by Jobe to fix a bug with ratbox RESV caused by incorrect client introduction order.
git-svn-id: svn://svn.anope.org/anope/trunk@1434 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1149 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes3
-rw-r--r--src/init.c11
-rw-r--r--version.log12
3 files changed, 17 insertions, 9 deletions
diff --git a/Changes b/Changes
index 0f978d839..8e9429779 100644
--- a/Changes
+++ b/Changes
@@ -59,6 +59,9 @@ Anope Version S V N
09/03 F Fixed variables not correctly shown in help. [#873]
09/04 F Rewrote the ignore system to fix several issues. [#930]
+Provided by Jobe <jobe@anope.org> - 2008
+09/13 F Fixed bug in ratbox RESV support. [#937]
+
Provided by Robin Burchell <w00t@inspircd.org> - 2008
08/08 F Strict warnings in send.c from comparing address of non-ptr [ #00]
08/08 F Removed sa-commands from inspircd protocol support. [ #00]
diff --git a/src/init.c b/src/init.c
index e1e005aa6..527df792a 100644
--- a/src/init.c
+++ b/src/init.c
@@ -33,6 +33,13 @@ void introduce_user(const char *user)
lasttimes[LTSIZE - 1] = time(NULL);
#undef LTSIZE
+ /* Introduce OperServ first because on some IRCd's send
+ * we send data from OperServ before introduction completes.
+ * Patch fixing ratbox RESV support provided by Jobe. */
+ if (!user || stricmp(user, s_OperServ) == 0) {
+ anope_cmd_nick(s_OperServ, desc_OperServ, ircd->operservmode);
+ }
+
/* NickServ */
if (!user || stricmp(user, s_NickServ) == 0) {
anope_cmd_nick(s_NickServ, desc_NickServ, ircd->nickservmode);
@@ -59,10 +66,6 @@ void introduce_user(const char *user)
anope_cmd_nick(s_HelpServ, desc_HelpServ, ircd->helpservmode);
}
- if (!user || stricmp(user, s_OperServ) == 0) {
- anope_cmd_nick(s_OperServ, desc_OperServ, ircd->operservmode);
- }
-
if (s_DevNull && (!user || stricmp(user, s_DevNull) == 0)) {
anope_cmd_nick(s_DevNull, desc_DevNull, ircd->devnullmode);
}
diff --git a/version.log b/version.log
index f9aeb58cc..9e8b4683b 100644
--- a/version.log
+++ b/version.log
@@ -9,14 +9,17 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1433"
+VERSION_BUILD="1434"
# $Log$
#
+# BUILD : 1.7.21 (1434)
+# BUGS : 937
+# NOTES : Applied patch by Jobe to fix a bug with ratbox RESV caused by incorrect client introduction order.
+#
# BUILD : 1.7.21 (1433)
# BUGS :
-# NOTES : Help now handled by respective modules. Should fix compiling on
-# windows.
+# NOTES : Help now handled by respective modules. Should fix compiling on windows.
#
# BUILD : 1.7.21 (1432)
# BUGS :
@@ -53,8 +56,7 @@ VERSION_BUILD="1433"
#
# BUILD : 1.7.21 (1424)
# BUGS : 934
-# NOTES : Fixed bogus password being returned by enc_none when password
-# was truncated.
+# NOTES : Fixed bogus password being returned by enc_none when password was truncated.
#
# BUILD : 1.7.21 (1423)
# BUGS : 932