mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Slightly different wordings.
This commit is contained in:
parent
cf90f3ce38
commit
69b6ee4c6f
@ -503,13 +503,13 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
if name.endswith('.py'):
|
if name.endswith('.py'):
|
||||||
name = name[:-3]
|
name = name[:-3]
|
||||||
if irc.getCallback(name):
|
if irc.getCallback(name):
|
||||||
irc.error('That module is already loaded.')
|
irc.error('That plugin is already loaded.')
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
module = loadPluginModule(name, ignoreDeprecation)
|
module = loadPluginModule(name, ignoreDeprecation)
|
||||||
except Deprecated:
|
except Deprecated:
|
||||||
irc.error('Plugin %r is deprecated. '
|
irc.error('That plugin is deprecated. '
|
||||||
'Use --deprecated to force it to load.' % name)
|
'Use --deprecated to force it to load.')
|
||||||
return
|
return
|
||||||
except ImportError, e:
|
except ImportError, e:
|
||||||
if name in str(e):
|
if name in str(e):
|
||||||
|
Loading…
Reference in New Issue
Block a user