diff --git a/protocols/hybrid.py b/protocols/hybrid.py index 3a07f9c..dffff13 100644 --- a/protocols/hybrid.py +++ b/protocols/hybrid.py @@ -18,7 +18,7 @@ class HybridProtocol(TS6Protocol): self.casemapping = 'ascii' self.caps = {} - self.hook_map = {'EOB': 'ENDBURST', 'TBURST': 'TOPIC'} + self.hook_map = {'EOB': 'ENDBURST', 'TBURST': 'TOPIC', 'SJOIN': 'JOIN'} def connect(self): """Initializes a connection to a server.""" diff --git a/protocols/nefarious.py b/protocols/nefarious.py index cfedfff..251031f 100644 --- a/protocols/nefarious.py +++ b/protocols/nefarious.py @@ -66,7 +66,7 @@ class P10Protocol(Protocol): # SID generator for P10. self.sidgen = P10SIDGenerator(irc) - self.hook_map = {'END_OF_BURST': 'ENDBURST', 'OPMODE': 'MODE', 'CLEARMODE': 'MODE'} + self.hook_map = {'END_OF_BURST': 'ENDBURST', 'OPMODE': 'MODE', 'CLEARMODE': 'MODE', 'BURST': 'JOIN'} def _send(self, source, text): self.irc.send("%s %s" % (source, text))