Make #chan ... #echo ... use the specified channel

This commit is contained in:
Juhani Haverinen 2015-04-23 16:55:19 +03:00
parent 47f4198cfa
commit 8672227e98
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ def parse((line, irc)):
if matchcmd(cmdline, '#echo'):
text = parsecmd(cmdline, '{text}')
irc.msg(reply, zwsp+text)
irc.msg(chan, zwsp+text)
elif matchcmd(cmdline, '#op'):
args = parsecmd(cmdline, '{args}')
chmode(irc, chan, nick, '+o', args.split(' '))