summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/protocol/inspircd12.c2
-rw-r--r--src/protocol/inspircd20.c2
-rw-r--r--version.log3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/protocol/inspircd12.c b/src/protocol/inspircd12.c
index aaf6bcf9a..c073c4766 100644
--- a/src/protocol/inspircd12.c
+++ b/src/protocol/inspircd12.c
@@ -1514,7 +1514,7 @@ int anope_event_mode(char *source, int ac, char **av)
/* If it's still null, drop it like fire.
* most likely situation was that server introduced a nick
* which we subsequently akilled */
- if (u == NULL)
+ if (u == NULL || u2 == NULL)
return MOD_CONT;
av[0] = u2->nick;
diff --git a/src/protocol/inspircd20.c b/src/protocol/inspircd20.c
index 7c74eb117..7538b59e1 100644
--- a/src/protocol/inspircd20.c
+++ b/src/protocol/inspircd20.c
@@ -1520,7 +1520,7 @@ int anope_event_mode(char *source, int ac, char **av)
/* If it's still null, drop it like fire.
* most likely situation was that server introduced a nick
* which we subsequently akilled */
- if (u == NULL)
+ if (u == NULL || u2 == NULL)
return MOD_CONT;
av[0] = u2->nick;
diff --git a/version.log b/version.log
index 754243b61..d4b84a078 100644
--- a/version.log
+++ b/version.log
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="8"
VERSION_EXTRA="-git"
-VERSION_BUILD="3095"
+VERSION_BUILD="3096"
# Changes since 1.8.7 Release
+#Revision 3096 - Fixed crash when InspIRCd sends user MODE changes for users that don't exist
#Revision 3095 - Fixed crash with cs_enforce and registered empty permanent channels
#Revision 3094 - Bug #1380 - Do not allow akill masks to end in @
#Revision 3093 - Fixed several grammar errors in docs/ (patch provided by Simba)