diff --git a/modules/sed.py b/modules/sed.py index 523448c..560a6ca 100755 --- a/modules/sed.py +++ b/modules/sed.py @@ -38,6 +38,8 @@ def collectlines(bot, trigger): def findandreplace(bot, trigger): if trigger.is_privmsg: return + if not trigger.args[0]: + return if not trigger.args[0].startswith('s') and trigger.args[0][-1] not in ':,': return line = ' '.join(trigger.args)