This commit is contained in:
deathbybandaid 2019-05-29 12:28:38 -04:00
parent a2d2e9ef43
commit 32a90748e2

View File

@ -252,6 +252,9 @@ class SopelOSD:
will default to ``1``.
"""
if not hasattr(self, 'osdstack'):
self.osdstack = {}
text_method = text_method.upper()
if text_method == 'SAY' or text_method not in ['NOTICE', 'ACTION']:
text_method = 'PRIVMSG'