Actually, this is nicer.

This commit is contained in:
Elijah Perrault committed 2011-02-15 19:06:11 -07:00
1 parent 3c7e975c98
commit e154175571
1 file changed
+1 -1
+1 -1
View File
@@ -299,7 +299,7 @@ sub cjoin
my ($svr, @ex) = @_;
my %src = API::IRC::usrc(substr($ex[0], 1));
my $chan = $ex[2];
if ($chan =~ m/^:/xsm) { $chan = substr $chan, 1; }
$chan =~ s/^://gxsm;
# Check if this is coming from ourselves.
if ($src{nick} eq $botnick{$svr}{nick}) {