Remove unneeded \n

This commit is contained in:
jesopo 2018-10-03 16:00:07 +01:00
parent cf397c395d
commit 27c191a668

View file

@ -6,8 +6,7 @@ from src import EventManager, ModuleManager, utils
class Module(ModuleManager.BaseModule): class Module(ModuleManager.BaseModule):
@utils.hook("received.numeric.001", priority=EventManager.PRIORITY_URGENT) @utils.hook("received.numeric.001", priority=EventManager.PRIORITY_URGENT)
def on_connect(self, event): def on_connect(self, event):
nickserv_password = event["server"].get_setting( nickserv_password = event["server"].get_setting("nickserv-password")
"nickserv-password")
if nickserv_password: if nickserv_password:
event["server"].attempted_auth = True event["server"].attempted_auth = True
event["server"].send_message("nickserv", event["server"].send_message("nickserv",