aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-08-07 20:41:50 +1200
committerDavid Phillips <david@sighup.nz>2018-08-07 20:41:50 +1200
commitd12a8259304b26a19e89e742d4e2f4e651347847 (patch)
tree71f2400891cff0ae5569e11d9f4c35c3fd853ee1
parent4f1d6488c81320e31addf011145b2379040a87aa (diff)
downloadidalius-d12a8259304b26a19e89e742d4e2f4e651347847.tar.xz
Reset nick on (re)connection
-rwxr-xr-xidalius.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/idalius.pl b/idalius.pl
index 8f99eb1..8db549f 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -151,6 +151,7 @@ sub irc_001 {
log_info("Connected to server ", $heap->server_name());
+ $current_nick = $config{nick};
$heap->yield(join => $_) for @{$config{channels}};
$irc->delay(custom_ping => $ping_delay);
return;