Remove channel nick-replace from inputfunc
This commit is contained in:
parent
3c4578b648
commit
ae9578e1de
4 changed files with 113 additions and 39 deletions
|
|
@ -78,11 +78,11 @@ def text(session, *args, **kwargs):
|
|||
puppet = session.puppet
|
||||
if puppet:
|
||||
txt = puppet.nicks.nickreplace(
|
||||
txt, categories=("inputline", "channel"), include_account=True
|
||||
txt, categories=("inputline"), include_account=True
|
||||
)
|
||||
else:
|
||||
txt = session.account.nicks.nickreplace(
|
||||
txt, categories=("inputline", "channel"), include_account=False
|
||||
txt, categories=("inputline"), include_account=False
|
||||
)
|
||||
kwargs.pop("options", None)
|
||||
cmdhandler(session, txt, callertype="session", session=session, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue