From 8b757ca053e0aafa1c316cdedc29059a8089f5e9 Mon Sep 17 00:00:00 2001 From: "mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 17 Aug 2008 14:15:48 +0000 Subject: 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 git-svn-id: svn://svn.anope.org/anope/trunk@1414 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1129 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 7 +++++-- src/protocol/inspircd11.c | 4 ++-- src/users.c | 4 ++-- version.log | 22 +++++++++++++++++++++- 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 - 2008 Provided by Martin J. Green - 2008 08/17 A SQLINE and SGLINE support for Hybrid. [#887] -Provided by Hal9000 - 2005 +Provided by Twitch - 2008 +08/17 F Warnings in users.c. [#925] + +Provided by Hal9000 - 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 -- cgit