]> jfr.im git - irc/evilnet/x3.git/commitdiff
Fix for "PARSE ERROR" on "Ghost 5 Numeric Collided" kill message
authorMatthew Beeching <redacted>
Sun, 17 Jul 2011 23:36:06 +0000 (00:36 +0100)
committerMatthew Beeching <redacted>
Sun, 17 Jul 2011 23:36:06 +0000 (00:36 +0100)
ChangeLog
src/proto-p10.c

index c2f42783b09004c45104b958ba8853ed497b805c..f93818c26aaba91c604004bb5e805f87d5aefc6f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 /***********************************************************************
 X3 ChangeLog
 
+2011-07-18  Matthew Beeching  <jobe@mdbnet.co.uk>
+
+       * src/proto-p10.c: Fix for "PARSE ERROR" on "Ghost 5 Numeric Collided"
+       kill message.
+
 2011-06-29  Matthew Beeching  <jobe@mdbnet.co.uk>
 
        * src/nickserv.c: Fixed a bug when reading services/nickserv/hard_maxlogins
index 19b74addb38923b67921f0ecc0639e8a323c6966..7e2257d5611c323f33e8c85307d64baab0367fd3 100644 (file)
@@ -2231,9 +2231,11 @@ static CMD_FUNC(cmd_kill)
          * Ghost response to a KILL we sent out earlier.  So we only
          * whine if the target is local.
          */
-        if (!strncmp(argv[1], self->numeric, strlen(self->numeric)))
+        if (!strncmp(argv[1], self->numeric, strlen(self->numeric))) {
             log_module(MAIN_LOG, LOG_ERROR, "Unable to find kill victim %s", argv[1]);
-        return 0;
+            return 0;
+        }
+        return 1;
     }
 
     if (IsLocal(user) && IsService(user)) {