From 50bcc22e243056a62ced9bb4c96a2f1f2918544f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 23 Jul 2003 02:14:39 +0000 Subject: [PATCH] Made unmorse handle underscores in addition to dashes (as longs) --- plugins/Moobot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Moobot.py b/plugins/Moobot.py index 5ce3a452e..82f9f9f7a 100644 --- a/plugins/Moobot.py +++ b/plugins/Moobot.py @@ -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)