]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_testline.c
Remove additional wrong declaration for rb_kill().
[irc/rqf/shadowircd.git] / modules / m_testline.c
index 63f99af0c14a55ca5102bb362a7c9a10306d7f86..0bcba6ea3bc08b8f0bfab721380514f3e7952f76 100644 (file)
@@ -155,7 +155,7 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
 #ifdef RB_IPV6
                                 (type == HM_IPV6) ? AF_INET6 : 
 #endif
-                                 AF_INET) : 0)))
+                                 AF_INET) : 0, NULL)))
        {
                static char buf[HOSTLEN+USERLEN+2];
 
@@ -193,7 +193,8 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
        if(aconf && aconf->status & CONF_CLIENT)
        {
                sendto_one_numeric(source_p, RPL_STATSILINE, form_str(RPL_STATSILINE),
-                               aconf->name, show_iline_prefix(source_p, aconf, aconf->user),
+                               aconf->name, EmptyString(aconf->spasswd) ? "<NULL>" : aconf->spasswd,
+                               show_iline_prefix(source_p, aconf, aconf->user),
                                aconf->host, aconf->port, aconf->className);
                return 0;
        }