aboutsummaryrefslogtreecommitdiff
path: root/Plugin/Log.pm
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-06-22 23:04:09 +1200
committerDavid Phillips <david@sighup.nz>2019-06-22 23:53:33 +1200
commit8c862af5a181a601e871cff8244d164da743a8f7 (patch)
tree61ae7d6937d042bb20c7a275b8098ec95b187ba1 /Plugin/Log.pm
parenta76c61351eabb72f5dbb5f75394850e06f558487 (diff)
downloadidalius-8c862af5a181a601e871cff8244d164da743a8f7.tar.xz
Evict auto-joining of channels to module
Diffstat (limited to 'Plugin/Log.pm')
-rw-r--r--Plugin/Log.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Plugin/Log.pm b/Plugin/Log.pm
index 1d69e51..135cd85 100644
--- a/Plugin/Log.pm
+++ b/Plugin/Log.pm
@@ -14,6 +14,7 @@ my %t = (
nick => color("cyan"),
info => color("yellow"),
kick => color("red"),
+ host => color("magenta"),
channel => color("blue"),
message => color("reset"),
misc => color("bright_black"),
@@ -33,7 +34,7 @@ sub configure {
# FIXME Not triggered yet
sub on_001 {
my ($self, $logger, $server, $message, $irc) = @_;
- $logger->("$t{info}Connected to ${host}$server$t{info} --- \"$t{message}$message$t{info}\"$t{reset}");
+ $logger->("$t{info}Connected to $t{host}$server$t{info} --- \"$t{message}$message$t{info}\"$t{reset}");
}
sub on_message {