mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
clientbot: *untested* autopreform support
This commit is contained in:
parent
8fb3310d33
commit
f970f760aa
@ -222,6 +222,11 @@ class ClientbotWrapperProtocol(Protocol):
|
||||
# TODO: capability negotiation happens here
|
||||
if not self.irc.connected.is_set():
|
||||
self.irc.connected.set()
|
||||
|
||||
# Run autoperform commands.
|
||||
for line in self.irc.serverdata.get("autoperform", []):
|
||||
self.irc.send(line)
|
||||
|
||||
return {'parse_as': 'ENDBURST'}
|
||||
|
||||
def handle_353(self, source, command, args):
|
||||
|
Loading…
Reference in New Issue
Block a user