Made unmorse handle underscores in addition to dashes (as longs)

This commit is contained in:
Jeremy Fincher 2003-07-23 02:14:39 +00:00
parent c8fbb4581b
commit 50bcc22e24

View File

@ -117,6 +117,7 @@ class Moobot(callbacks.Privmsg):
Does the reverse of the morse/ditdaw command.
"""
text = privmsgs.getArgs(args)
text = text.replace('_', '-')
L = []
def morseToLetter(m):
s = m.group(1)