remember: accept "? word" form, tell: do communications in pm, main: don't prefix replies with nickname if pm
This commit is contained in:
parent
309bf87202
commit
dcfea9f496
|
@ -17,6 +17,9 @@ class Input(dict):
|
|||
conn.msg(chan, msg)
|
||||
|
||||
def reply(msg):
|
||||
if chan == nick: # PMs don't need prefixes
|
||||
conn.msg(chan, msg)
|
||||
else:
|
||||
conn.msg(chan, nick + ': ' + msg)
|
||||
|
||||
def pm(msg):
|
||||
|
|
Loading…
Reference in New Issue