Bläddra i källkod

* Ported [2756] to 1.2.10
* Fixed auth cmds not working in privmsg. (fixes #228)


svn: 2757

Bryan Drewery 20 år sedan
förälder
incheckning
d15a81c475
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/server.mod/servmsg.c

+ 1 - 0
doc/UPDATES

@@ -12,6 +12,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 
 
 1.2.10
 1.2.10
 * Removed old references to '+/-manop' and '+/-nomop' for chaninfo in help file.
 * Removed old references to '+/-manop' and '+/-nomop' for chaninfo in help file.
+* Fixed auth cmds not working in privmsg. (fixes #228)
 
 
 1.2.9
 1.2.9
 * Fixed cmd_[un]stick not properly using numbers for channel masks. (#160)
 * Fixed cmd_[un]stick not properly using numbers for channel masks. (#160)

+ 1 - 1
src/mod/server.mod/servmsg.c

@@ -574,7 +574,7 @@ static int gotmsg(char *from, char *msg)
       Auth *auth = NULL;
       Auth *auth = NULL;
      
      
       if (auth_prefix[0])
       if (auth_prefix[0])
-        Auth::Find(uhost);
+        auth = Auth::Find(uhost);
 
 
       if (!auth)
       if (!auth)
         detect_flood(nick, uhost, from, FLOOD_PRIVMSG);
         detect_flood(nick, uhost, from, FLOOD_PRIVMSG);