Fix IRCContext.send_messages

This commit is contained in:
Vgr E. Barry 2016-11-22 07:40:29 -05:00
parent ea3acbfb2a
commit 423f7e352c

View File

@ -74,7 +74,7 @@ class IRCContext:
max_targets = Features["TARGMAX"][send_type]
while targets:
using, targets = targets[:max_targets], targets[max_targets:]
cls._send([message], "", " ", targets[0].client, send_type, ",".join([t.nick for t in using]))
cls._send([message], "", " ", using[0].client, send_type, ",".join([t.nick for t in using]))
cls._messages.clear()