Remove unneeded \n
This commit is contained in:
parent
cf397c395d
commit
27c191a668
1 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue