forked from External/ergo
fix #455
This commit is contained in:
parent
a27c46f983
commit
174115deb6
5 changed files with 40 additions and 22 deletions
|
|
@ -274,8 +274,10 @@ func (nt *NickTimer) Touch(rb *ResponseBuffer) {
|
|||
for _, mSession := range nt.client.Sessions() {
|
||||
if mSession == session {
|
||||
rb.Add(nil, nsPrefix, "NOTICE", tnick, message)
|
||||
rb.Add(nil, nt.client.server.name, "WARN", "*", "ACCOUNT_REQUIRED", message)
|
||||
} else {
|
||||
mSession.Send(nil, nsPrefix, "NOTICE", tnick, message)
|
||||
mSession.Send(nil, nt.client.server.name, "WARN", "*", "ACCOUNT_REQUIRED", message)
|
||||
}
|
||||
}
|
||||
} else if shouldRename {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue