'_mesage_factory' -> '_message_factory'

This commit is contained in:
jesopo 2019-10-28 11:23:55 +00:00
parent 627e564dbd
commit e6b4321f30

View file

@ -6,7 +6,7 @@ STR_MORE_LEN = len(STR_MORE.encode("utf8"))
STR_CONTINUED = "(...continued) "
WORD_BOUNDARY = ' '
def _mesage_factory(command):
def _message_factory(command):
if not command in ["PRIVMSG", "NOTICE"]:
raise ValueError("Unknown command method '%s'" % method)