Author: Isomer <isomer@coders.net>
authorPerry Lorier <isomer@undernet.org>
Fri, 21 Sep 2001 11:42:34 +0000 (11:42 +0000)
committerPerry Lorier <isomer@undernet.org>
Fri, 21 Sep 2001 11:42:34 +0000 (11:42 +0000)
Log message:

Fixed acptr that was supposed to be "from" in s_user.c

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

ChangeLog
ircd/s_user.c

index eb77925fea7572c8bdbad79e1dcbf9eea8c5a4ba..e48e87fc33530deb63685cda94cdc922f6701346 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2001-09-21  Perry Lorier  <isomer@coders.net>
+       * ircd/s_user.c I'm stupid, s/acptr/from/, Hektik pointed it out
+
 2001-09-20  Perry Lorier  <isomer@coders.net>
 
        * Pullups from 2.10.10.pl16
index cf34ba2566876e014f04807576f1cc42bc1f0c72..6029736cbc363d7c136a0090ac9ba81db89fe104 100644 (file)
@@ -191,7 +191,7 @@ int hunt_server_cmd(struct Client *from, const char *cmd, const char *tok,
   struct Client *acptr;
   char *to;
 
-  if (MustBeOper && !IsPrivileged(acptr))
+  if (MustBeOper && !IsPrivileged(from))
   {
     send_reply(from, ERR_NOPRIVILEGES);
     return HUNTED_NOSUCH;