|
|
@@ -53,6 +53,8 @@ def process_event(self, connection, event):
|
|
|
return
|
|
|
elif event.arguments[0].startswith("please choose a different nick."):
|
|
|
return
|
|
|
+ elif event.arguments[0] == 'Password accepted - you are now recognized.':
|
|
|
+ return
|
|
|
elif event.source.nick == "ChanServ":
|
|
|
if event.arguments[0].startswith("Key for channel ") and len(event.arguments[0]) > 5: # Received channel key.
|
|
|
log.info('Saving channel password received from NickServ for: %s' % event.arguments[0].split(' ')[3])
|
|
|
@@ -70,6 +72,8 @@ def process_event(self, connection, event):
|
|
|
# return
|
|
|
if event.source.nick != "Global":
|
|
|
Inform.notice_owners(self, connection, 'Notice from %s%s%s: %s%s' % (font.red, event.source.nick, font.grey, font.reset, event.arguments[0]))
|
|
|
+ if event.arguments[0] == '*** Looking up your hostname...' or event.arguments[0] == '*** Found your hostname' or event.arguments[0].startswith('*** Connected securely via ') or event.arguments[0] == '*** Your host is masked (':
|
|
|
+ return # Do not forward these messages.
|
|
|
|
|
|
async def register_later(self, connection, seconds):
|
|
|
await asyncio.sleep(seconds)
|