-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server.DeleteMessage catches channel or client==nil
Fixes #2020 Calling /msg histserv delete #wrongchan <msgid> returns spurrious success message. Calling /msg histserv delete <randomchars> <msgid> returns similar message. These would lead to the pointer hist == nil, and server.historyDB.DeleteMsgid() would return nil. Returns errNoSuchChannel or errInvalidTarget if channel or client == nil
- Loading branch information
1 parent
f6f7315
commit bc40477
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters