summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes7
-rw-r--r--src/protocol/inspircd11.c4
-rw-r--r--src/users.c4
-rw-r--r--version.log22
4 files changed, 30 insertions, 7 deletions
diff --git a/Changes b/Changes
index b321744cd..356bf9408 100644
--- a/Changes
+++ b/Changes
@@ -78,10 +78,13 @@ Provided by Jan Milants <jan_renee@msn.com> - 2008
Provided by Martin J. Green <mail@martinjgreen.me.uk> - 2008
08/17 A SQLINE and SGLINE support for Hybrid. [#887]
-Provided by Hal9000 <hal9000@pimpmylinux.org> - 2005
+Provided by Twitch <mitch@zomgirc.net> - 2008
+08/17 F Warnings in users.c. [#925]
+
+Provided by Hal9000 <hal9000@pimpmylinux.org> - 2008
04/29 F Potential crash in channels.c. [ #00]
04/29 F TS handling on incoming FMODE with InspIRCd 1.1. [ #00]
-05/20 F Possible crash in new TS handling for InspIRCd 1.1. [ #00]
+05/20 F Possible crash in new TS handling for InspIRCd 1.1. [#904]
Anope Version 1.7.21
--------------------
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index 612b7c616..a70044435 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -1567,8 +1567,8 @@ int anope_event_capab(char *source, int ac, char **av)
cbmi++;
}
if (cbmi) {
- myCbmodeinfos->getvalue = get_flood;
- myCbmodeinfos->csgetvalue = cs_get_flood;
+ cbmi->getvalue = get_flood;
+ cbmi->csgetvalue = cs_get_flood;
myCbmodes['f'].flag = CMODE_f;
myCbmodes['f'].flags = 0;
diff --git a/src/users.c b/src/users.c
index a82a52a50..bf3b5c2ac 100644
--- a/src/users.c
+++ b/src/users.c
@@ -845,7 +845,7 @@ void do_quit(const char *source, int ac, char **av)
free(na->last_quit);
na->last_quit = *av[0] ? sstrdup(av[0]) : NULL;
}
- if (LimitSessions && !is_ulined(user->server)) {
+ if (LimitSessions && !is_ulined(user->server->name)) {
del_session(user->host);
}
delete_user(user);
@@ -882,7 +882,7 @@ void do_kill(char *nick, char *msg)
na->last_quit = *msg ? sstrdup(msg) : NULL;
}
- if (LimitSessions && !is_ulined(user->server)) {
+ if (LimitSessions && !is_ulined(user->server->name)) {
del_session(user->host);
}
delete_user(user);
diff --git a/version.log b/version.log
index d79af2b56..99ef23da2 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1413"
+VERSION_BUILD="1414"
# $Log$
#
+# BUILD : 1.7.21 (1414)
+# BUGS : 832 925
+# NOTES : Applied patch from Twitch to fix warnings in users.c. Also corrected a typo made in previous commit to add +f support to inspircd11.c, and corrected various mistakes in Changes and version.log
+#
# BUILD : 1.7.21 (1413)
# BUGS : 832
# NOTES : Added support for channelmodes +efI and SVSHOLD to inspircd11.c
@@ -33,6 +37,22 @@ VERSION_BUILD="1413"
# BUGS : 922
# NOTES : Changes 'check' argument in calls to chan_set_modes() from cs_modes.c/do_util() to 2 to avoid calling chan_set_proper_modes()
#
+# BUILD : 1.7.21 (1408)
+# BUGS :
+# NOTES : Set os_raw to show up as a 3rd party module...
+#
+# BUILD : 1.7.21 (1407)
+# BUGS :
+# NOTES : Removed pointless checks for buf existing, as they always will for non pointers.
+#
+# BUILD : 1.7.21 (1406)
+# BUGS : 883
+# NOTES : w00t removed more sa commands from inspircd, as they no longer work
+#
+# BUILD : 1.7.21 (1405)
+# BUGS : 883
+# NOTES : Applied patch from w00t to remove sajoin in inspircd.
+#
# BUILD : 1.7.21 (1404)
# BUGS : 917
# NOTES : make install now runs install routine for modules subdirs also. Thanks Viper