Преглед изворни кода

No need to lookup the user here until TCL is readded.

Spotted by:	scan-build
Bryan Drewery пре 11 година
родитељ
комит
6adee5f63c
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/mod/irc.mod/chan.cc

+ 2 - 0
src/mod/irc.mod/chan.cc

@@ -3152,7 +3152,9 @@ static int gotquit(char *from, char *msg)
   struct userrec *u = NULL;
 
   strlcpy(from2, from, sizeof(from2));
+#ifdef TCL
   u = get_user_by_host(from2);
+#endif
   nick = splitnick(&from);
   fixcolon(msg);
   /* Fred1: Instead of expensive wild_match on signoff, quicker method.