server should be passed in received.rename in modules/line_handler.py

This commit is contained in:
jesopo 2018-11-05 21:38:39 +00:00
parent 0a70fda6dc
commit 8930d04567

View file

@ -569,4 +569,4 @@ class Module(ModuleManager.BaseModule):
event["server"].rename_channel(old_name, new_name)
self.events.on("received.rename").call(channel=channel,
old_name=old_name, new_name=new_name,
reason=event["args"].get(2))
reason=event["args"].get(2), server=event["server"])