Delete channel from botchans on part.
This commit is contained in:
1 parent
d08c8715f6
commit
4f3244a3d4
1 file changed
+2
@@ -35,6 +35,8 @@ sub cpart
|
|||||||
Auto::socksnd($svr, "PART $chan :Leaving");
|
Auto::socksnd($svr, "PART $chan :Leaving");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (defined $Parser::IRC::botchans{$svr}{$chan}) { delete $Parser::IRC::botchans{$svr}{$chan}; }
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user