From: Zoot Date: Sat, 10 Jul 2004 04:42:12 +0000 (+0000) Subject: Fix OperServ inviteme crash X-Git-Tag: v1.4.0-rc1~205 X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=76de0969883e456b24b9142bafa8839c7faa3999 Fix OperServ inviteme crash * src/opserv.c: Fix a NULL pointer dereference in inviteme that caused crashes for some users. git-archimport-id: srvx@srvx.net--2004-srvx/srvx--devo--1.3--patch-71 --- diff --git a/ChangeLog b/ChangeLog index 5e8a78e..bcdcc45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,20 @@ # arch-tag: automatic-ChangeLog--srvx@srvx.net--2004-srvx/srvx--devo--1.3 # +2004-07-10 04:42:12 GMT Zoot patch-71 + + Summary: + Fix OperServ inviteme crash + Revision: + srvx--devo--1.3--patch-71 + + * src/opserv.c: Fix a NULL pointer dereference in inviteme that caused crashes + for some users. + + modified files: + ChangeLog src/opserv.c + + 2004-07-01 02:23:21 GMT Michael Poole patch-70 Summary: diff --git a/src/opserv.c b/src/opserv.c index 26dab12..ed6bd5f 100644 --- a/src/opserv.c +++ b/src/opserv.c @@ -886,7 +886,7 @@ static MODCMD_FUNC(cmd_inviteme) return 0; } if (GetUserMode(opserv_conf.debug_channel, user)) { - reply("OSMSG_ALREADY_THERE", channel->name); + reply("OSMSG_ALREADY_THERE", opserv_conf.debug_channel->name); return 0; } irc_invite(cmd->parent->bot, target, opserv_conf.debug_channel);