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,7 +17,10 @@ class Input(dict):
|
|||
conn.msg(chan, msg)
|
||||
|
||||
def reply(msg):
|
||||
conn.msg(chan, nick + ': ' + msg)
|
||||
if chan == nick: # PMs don't need prefixes
|
||||
conn.msg(chan, msg)
|
||||
else:
|
||||
conn.msg(chan, nick + ': ' + msg)
|
||||
|
||||
def pm(msg):
|
||||
conn.msg(nick, msg)
|
||||
|
|
Loading…
Reference in New Issue