mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
irc.error()'s need a msg
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user