1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2025-04-05 23:37:51 +02:00

irc.error()'s need a msg

This commit is contained in:
James Vega 2003-12-01 04:10:50 +00:00
parent b0fa84408e
commit 42e43531fc

@ -120,7 +120,7 @@ class Python(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable):
return newmodule
name = privmsgs.getArgs(args)
if name.translate(string.ascii, self.modulechars) != '':
irc.error('That\'s not a valid module or function name.')
irc.error(msg, 'That\'s not a valid module or function name.')
return
if '.' in name:
(moduleName, funcName) = rsplit(name, '.', 1)