'/msg <botname> search ...' now works as expected
This commit is contained in:
parent
9fbc513440
commit
c46c983c71
|
@ -206,10 +206,11 @@ class Encyclopedia(callbacks.Plugin):
|
|||
else: # Private
|
||||
if text.strip()[0] in str(conf.supybot.reply.whenAddressedBy.chars):
|
||||
return False
|
||||
for c in irc.callbacks:
|
||||
comm = text.split()[0]
|
||||
if c.isCommandMethod(comm) and not c.isDisabled(comm):
|
||||
return False
|
||||
if not text.split()[0] == 'search':
|
||||
for c in irc.callbacks:
|
||||
comm = text.split()[0]
|
||||
if c.isCommandMethod(comm) and not c.isDisabled(comm):
|
||||
return False
|
||||
if text[0] == self.registryValue('prefixchar',channel=recipients):
|
||||
return text[1:]
|
||||
return text
|
||||
|
|
Loading…
Reference in New Issue