This commit is contained in:
neersighted 2012-03-31 08:20:51 -07:00
parent 0a0e10d363
commit 79edc5e8bc

View file

@ -166,5 +166,5 @@ def topic(inp, conn=None, chan=None, notice=None):
if split[0][0] == "#":
out = "PRIVMSG %s :%s" % (split[0], message)
else:
out = "TOPIC %s :%s" % (input.chan, message)
input.conn.send(out)
out = "TOPIC %s :%s" % (chan, message)
conn.send(out)