Fix nick treates as channel issue
Since nickname changes apply server-wide, they were incorrectly treated as their own channels (this was a bug) - fixed this, and nickname changes are now logged in all channels the bot has joined.
This commit is contained in:
parent
96e6da2752
commit
bf661d9577
1 changed files with 1 additions and 0 deletions
|
@ -222,6 +222,7 @@ class Logbot(SingleServerIRCBot):
|
|||
|
||||
if event_name == "nick":
|
||||
message = params["new"]
|
||||
target = params["chan"]
|
||||
elif event_name == "kick":
|
||||
message = "%s kicked %s from %s. Reason: %s" % (nm_to_n(params["kicker"]),
|
||||
params["user"], params["channel"], params["reason"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue