irc.py

changeset 94
2c93636202a5
parent 92
da291d9426ea
child 112
cdafc1a0544e
equal deleted inserted replaced
93:125f3c97071e 94:2c93636202a5
20 20
21 # 21 #
22 # Prints a line to log channel(s) 22 # Prints a line to log channel(s)
23 # 23 #
24 def broadcast (line): 24 def broadcast (line):
25 print line
25 for client in all_clients: 26 for client in all_clients:
26 if not client.flags & CLIF_CONNECTED: 27 if not client.flags & CLIF_CONNECTED:
27 continue 28 continue
28 29
29 for channel in client.channels: 30 for channel in client.channels:

mercurial