Add missing transition trigger on MOTD start.

This commit is contained in:
Valentin Lorentz 2020-05-01 20:19:00 +02:00
parent 22120ee862
commit f7130f2629
1 changed files with 4 additions and 0 deletions

View File

@ -1682,6 +1682,10 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
"""Handles PONG messages."""
self.outstandingPing = False
def do375(self, msg):
self.state.fsm.on_start_motd(self, msg)
log.info('Got start of MOTD from %s', self.server)
def do376(self, msg):
self.state.fsm.on_end_motd()
log.info('Got end of MOTD from %s', self.server)