Author: Isomer <Isomer@coders.net>
authorPerry Lorier <isomer@undernet.org>
Thu, 29 Jun 2000 23:21:15 +0000 (23:21 +0000)
committerPerry Lorier <isomer@undernet.org>
Thu, 29 Jun 2000 23:21:15 +0000 (23:21 +0000)
Log message:

* Fixed bug with LOCAL_KILL_ONLY in m_kill.c
* Tidied m_nick.c

(These are just some minor things I've been tweaking while playing with IPcheck)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@259 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_kill.c
ircd/m_nick.c

index a1d11e5b454c2c0f19e84b08cbeb50c25316620d..e7cf371ec51846cd9a13eadb53f8b09c3d8c0726 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-29  Perry Lorier       <Isomer@coders.net>
+       * ircd/m_kill.c: Fixed bug with LOCAL_KILL_ONLY
+       * ircd/m_nick.c: Tidied things up.
+
 2000-06-12 Joseph Bongaarts <foxxe@trms.com>
        * ircd/m_stats.c: Iso forgot mo_stats when he added /stats v
        
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.148 2000-06-13 04:55:42 ghostwolf Exp $
+# $Id: ChangeLog,v 1.149 2000-06-29 23:21:15 isomer Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index 5bf72b8d2cd2b42dbcd2aa41f71c99c112759e3d..b8dd10086e57d109563a00ee2494b147f6b88c85 100644 (file)
@@ -302,7 +302,7 @@ int mo_kill(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 
 #ifdef LOCAL_KILL_ONLY
   if (!MyConnect(victim)) {
-    send_reply(&me, CMD_NOTICE, sptr, "%C :Nick %s isnt on your server", sptr,
+    sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :Nick %s isnt on your server", sptr,
               victim->name);
     return 0;
   }
index bf3110524a9e5aad7884f555e2b1d3e6eafa8e1e..59785621e86a97584ec0402e6435774b0bd60188 100644 (file)
@@ -317,7 +317,9 @@ int ms_nick(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
    * is present in the nicklist (due to the way the below for loop is
    * constructed). -avalon
    */
-  if (!(acptr = FindClient(nick))) {
+   
+  acptr = FindClient(nick);
+  if (!acptr) {
     /*
      * No collisions, all clear...
      */