mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
nickserv: Report success of Clear commands.
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user