mirror of
https://github.com/znc/znc.git
synced 2026-08-05 16:33:46 +02:00
Nickserv: Add a clear command
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1554 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -37,8 +37,11 @@ public:
|
||||
m_sPass = sPass;
|
||||
SetNV("Password", m_sPass);
|
||||
PutModule("Password set");
|
||||
} else if (xCmdName == "clear") {
|
||||
m_sPass = "";
|
||||
DelNV("Password");
|
||||
} else {
|
||||
PutModule("Commands: set <password>");
|
||||
PutModule("Commands: set <password>, clear");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user