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