]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Must.. Compile.. Before.. Commit..
authorsplidge <redacted>
Wed, 19 Mar 2008 11:54:54 +0000 (11:54 +0000)
committersplidge <redacted>
Wed, 19 Mar 2008 11:54:54 +0000 (11:54 +0000)
channel/channelbans.c

index 8d1fed02eb0ac9f750f8eb59bdd33204c355e4c6..57af8bbf17a3c53098ebb89f0fb435253214e1ef 100644 (file)
@@ -31,7 +31,7 @@ int nickmatchban_visible(nick *np, chanban *bp) {
   /* nick/ident section: return 0 (no match) if they don't match */
 
   /* Determine the visible ident for sethost users.  Don't test the real one. */  
-  if (IsSetHost(np) && np->shident && *np->shident)
+  if (IsSetHost(np) && np->shident && *np->shident->content)
     visibleident=np->shident->content;
   else
     visibleident=np->ident;