]> jfr.im git - irc/znc/znc.git/commitdiff
nickserv: Report success of Clear commands.
authorAlexey Sokolov <redacted>
Sat, 7 Sep 2019 19:04:23 +0000 (20:04 +0100)
committerAlexey Sokolov <redacted>
Sat, 7 Sep 2019 19:04:23 +0000 (20:04 +0100)
modules/nickserv.cpp

index 4e0b17e04a14c8694dd8b21472f49effdce89836..e91f26d48cae8cd7051ab42a594e5c99eb2e3ab6 100644 (file)
@@ -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"));