Skip to content

Commit b470c39

Browse files
author
bspkrs
committed
stop sending event monitor output to debug
change nickserv message
1 parent 58a5b0e commit b470c39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IRCHandler.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def monitorEvents(self):
243243
self.logger.warning('Event Monitor: time since last event (%s) exceeds timeout (%s).' % (getDurationStr(delta), getDurationStr(self.bot.monitortimeout)))
244244
self.bot.onShuttingDown()
245245
else:
246-
self.logger.debug('Event Monitor: time since last event: %s' % getDurationStr(delta))
246+
# self.logger.debug('Event Monitor: time since last event: %s' % getDurationStr(delta))
247247
self.next_event_check = self.next_event_check + self.bot.monitorperiod
248248
self.monitor_thread = threading.Timer(self.next_event_check - time.time(), self.monitorEvents)
249249
self.monitor_thread.start()
@@ -574,7 +574,7 @@ def threadedCommand(self, callback, cmd, bot, sender, dest, args):
574574
#If we don't accept unregistered usage, we check for AUTH 3 and the WHOIS event
575575
if not bot.allowunregistered:
576576
if not sender.auth == 3:
577-
bot.sendNotice(sender.nick, "You need to register your nick before using the bot. Use '/msg NickServ help register' to learn how to register.")
577+
bot.sendNotice(sender.nick, "You need to register or group your nick before using the bot. Use '/msg NickServ help register' to learn how to register or '/msg NickServ group' to try grouping your current nick to your account.")
578578
return
579579

580580
#if sender.auth == 3:

0 commit comments

Comments
 (0)