Selaa lähdekoodia

* Fix regression in ISON processing

Bryan Drewery 16 vuotta sitten
vanhempi
commit
c5ec795e22
1 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. 2 4
      src/mod/server.mod/servmsg.c

+ 2 - 4
src/mod/server.mod/servmsg.c

@@ -907,12 +907,10 @@ static void got731(char* from, char* msg)
 */
 static void got303(char *from, char *msg)
 {
-  char *tmp = NULL;
-
-  tmp = newsplit(&msg);
+  char *tmp = newsplit(&msg);
   fixcolon(msg);
   if (tmp[0] && match_my_nick(tmp))
-    nicks_available(tmp, ' ', 0);
+    nicks_available(msg, ' ', 0);
 }
 
 /* 432 : Bad nickname (RESV)