From be7125fcb8ca19748382b27a1cd9c1d38feb3d2c Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 7 Sep 2019 20:04:23 +0100 Subject: [PATCH] nickserv: Report success of Clear commands. --- modules/nickserv.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/nickserv.cpp b/modules/nickserv.cpp index 4e0b17e0..e91f26d4 100644 --- a/modules/nickserv.cpp +++ b/modules/nickserv.cpp @@ -31,14 +31,20 @@ class CNickServ : public CModule { PutModule(t_s("Password set")); } - void ClearCommand(const CString& sLine) { DelNV("Password"); } + void ClearCommand(const CString& sLine) { + DelNV("Password"); + PutModule(t_s("Done")); + } void SetNSNameCommand(const CString& sLine) { SetNV("NickServName", sLine.Token(1, true)); PutModule(t_s("NickServ name set")); } - void ClearNSNameCommand(const CString& sLine) { DelNV("NickServName"); } + void ClearNSNameCommand(const CString& sLine) { + DelNV("NickServName"); + PutModule(t_s("Done")); + } void ViewCommandsCommand(const CString& sLine) { PutModule("IDENTIFY " + GetNV("IdentifyCmd"));