]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Get rid of local variable shadowing.
authorJilles Tjoelker <redacted>
Sun, 25 Jan 2009 15:26:17 +0000 (16:26 +0100)
committerJilles Tjoelker <redacted>
Sun, 25 Jan 2009 15:26:17 +0000 (16:26 +0100)
modules/m_testline.c

index ee1cca669f02ca6c6945e227fb231371c26eaf74..698b080ed39c75845922e8330f04e872536606fc 100644 (file)
@@ -178,11 +178,11 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
 
                if(aconf->status & CONF_KILL)
                {
-                       char *user, *host, *reason, *operreason;
+                       char *puser, *phost, *reason, *operreason;
                        char reasonbuf[BUFSIZE];
-                       get_printable_kline(source_p, aconf, &host, &reason, &user, &operreason);
+                       get_printable_kline(source_p, aconf, &phost, &reason, &puser, &operreason);
                        rb_snprintf(buf, sizeof(buf), "%s@%s", 
-                                       user, host);
+                                       puser, phost);
                        rb_snprintf(reasonbuf, sizeof(reasonbuf), "%s%s%s", reason,
                                operreason ? "|" : "", operreason ? operreason : "");
                        sendto_one(source_p, form_str(RPL_TESTLINE),