Slightly different wordings.

This commit is contained in:
Jeremy Fincher 2004-08-03 05:40:45 +00:00
parent cf90f3ce38
commit 69b6ee4c6f

View File

@ -503,13 +503,13 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
if name.endswith('.py'):
name = name[:-3]
if irc.getCallback(name):
irc.error('That module is already loaded.')
irc.error('That plugin is already loaded.')
return
try:
module = loadPluginModule(name, ignoreDeprecation)
except Deprecated:
irc.error('Plugin %r is deprecated. '
'Use --deprecated to force it to load.' % name)
irc.error('That plugin is deprecated. '
'Use --deprecated to force it to load.')
return
except ImportError, e:
if name in str(e):