]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/events.c
CHANSERV: tell user when they can't attempts to auth any more, and drop max attempts...
[irc/quakenet/newserv.git] / trusts / events.c
index 2f3e56be26eacf00965439f7f1ceb16cc567d2dd..7f716e802e9aaef6595531376f191e9f3b0a225a 100644 (file)
@@ -9,7 +9,7 @@ void trusts_newnick(nick *sender, int moving) {
   void *arg[2];
   struct irc_in_addr ipaddress;
 
-  ip_canonicalize_tunnel(&ipaddress, &sender->p_ipaddr);
+  ip_canonicalize_tunnel(&ipaddress, &sender->ipaddress);
 
   th = th_getbyhost(&ipaddress);