Make #chan ... #echo ... use the specified channel
This commit is contained in:
parent
47f4198cfa
commit
8672227e98
|
@ -445,7 +445,7 @@ def parse((line, irc)):
|
||||||
|
|
||||||
if matchcmd(cmdline, '#echo'):
|
if matchcmd(cmdline, '#echo'):
|
||||||
text = parsecmd(cmdline, '{text}')
|
text = parsecmd(cmdline, '{text}')
|
||||||
irc.msg(reply, zwsp+text)
|
irc.msg(chan, zwsp+text)
|
||||||
elif matchcmd(cmdline, '#op'):
|
elif matchcmd(cmdline, '#op'):
|
||||||
args = parsecmd(cmdline, '{args}')
|
args = parsecmd(cmdline, '{args}')
|
||||||
chmode(irc, chan, nick, '+o', args.split(' '))
|
chmode(irc, chan, nick, '+o', args.split(' '))
|
||||||
|
|
Loading…
Reference in New Issue