mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
replace ACC UNREGISTER with nickserv unregister
This commit is contained in:
parent
af256fccd3
commit
73391f11a6
4 changed files with 44 additions and 30 deletions
|
|
@ -368,6 +368,9 @@ func (am *AccountManager) Unregister(account string) error {
|
|||
client.LogoutOfAccount()
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
return errAccountDoesNotExist
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue