Dont forward irc errors that are handled elsewhere
This commit is contained in:
parent
aa59e71745
commit
0689c74101
2 changed files with 15 additions and 2 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
func createNickInUseHandler(i *irc.Client, session *Session) func(string) string {
|
||||
return func(nick string) string {
|
||||
newNick := nick + "_"
|
||||
session.print(i.Host, "Nickname", nick, "is already in use, using", newNick, "instead")
|
||||
session.printError("Nickname", nick, "is already in use, using", newNick, "instead")
|
||||
|
||||
return newNick
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue