summaryrefslogtreecommitdiff
path: root/scripts/realname.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/realname.pl')
-rw-r--r--scripts/realname.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/realname.pl b/scripts/realname.pl
index 1b48f044..d57de3d2 100644
--- a/scripts/realname.pl
+++ b/scripts/realname.pl
@@ -24,7 +24,7 @@ sub cmd_realname {
}
sub event_rn_whois {
- my ($num, $nick, $user, $host, $empty, $realname) = split(/ +/, $_[0], 6);
+ my ($num, $nick, $user, $host, $empty, $realname) = split(/ +/, $_[1], 6);
$realname =~ s/^://;
Irssi::print("%_$nick%_ is $realname");