From 74b20cb9e7f02f845a1352a309d32fe2133c8ce1 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Sat, 12 Feb 2011 20:09:21 -0700 Subject: [PATCH] For kicks with no reason. --- lib/API/IRC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/API/IRC.pm b/lib/API/IRC.pm index b6e9d09..c3be022 100644 --- a/lib/API/IRC.pm +++ b/lib/API/IRC.pm @@ -125,7 +125,7 @@ sub kick { my ($svr, $chan, $nick, $msg) = @_; - Auto::socksnd($svr, "KICK $chan $nick :$msg"); + Auto::socksnd($svr, "KICK $chan $nick :".((defined $msg) ? $msg : 'No reason')); return 1; }