Fix OperServ inviteme crash
authorZoot <zoot@gamesurge.net>
Sat, 10 Jul 2004 04:42:12 +0000 (04:42 +0000)
committerZoot <zoot@gamesurge.net>
Sat, 10 Jul 2004 04:42:12 +0000 (04:42 +0000)
* 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

ChangeLog
src/opserv.c

index 5e8a78e6a8cb8de0ad851a8711d650d6fbac59f0..bcdcc45b7a702750757fd6c82b1de6ad05224a78 100644 (file)
--- 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 <zoot@gamesurge.net>       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 <mdpoole@troilus.org>     patch-70
 
     Summary:
index 26dab12415b486e4941e7de64899ffd4fd46fc0b..ed6bd5fcdc8153092b85d33540d0721692ecaa0c 100644 (file)
@@ -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);