mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-29 06:51:10 -05:00
OperUp: remove extraneous numeric 377 handler
The only MOTD-related usage of this is deprecated according to http://defs.ircdocs.horse/defs/numerics.html#rpl-kickexpired-377 (cherry picked from commit 4b5795b9ce4541840ec58a23be5fc84919295c32)
This commit is contained in:
parent
2f537e76f6
commit
4f4e76b57a
@ -47,7 +47,7 @@ class OperUp(callbacks.Plugin):
|
||||
connect and manually."""
|
||||
|
||||
def do376(self, irc, msg):
|
||||
"""Oper up on connect. This listens on numerics 376 (end of MOTD) and
|
||||
"""Oper up on connect. This listens for numerics 376 (end of MOTD) and
|
||||
422 (MOTD not found)."""
|
||||
if not self.registryValue('autoOper'):
|
||||
return
|
||||
@ -61,7 +61,7 @@ class OperUp(callbacks.Plugin):
|
||||
self.log.warning("OperUp: Bot is set to oper on network %s, but"
|
||||
" operName and/or operPass are not defined!", irc.network)
|
||||
|
||||
do377 = do422 = do376
|
||||
do422 = do376
|
||||
|
||||
def do381(self, irc, msg):
|
||||
self.log.info("OperUp: Received 381 (successfully opered up) from "
|
||||
|
Loading…
x
Reference in New Issue
Block a user