diff --git a/modules/nickserv.cpp b/modules/nickserv.cpp index 52b2cfe2..1a1b16f0 100644 --- a/modules/nickserv.cpp +++ b/modules/nickserv.cpp @@ -37,7 +37,7 @@ public: m_sPass = sPass; SetNV("Password", m_sPass); PutModule("Password set"); - } else if (xCmdName == "clear") { + } else if (sCmdName == "clear") { m_sPass = ""; DelNV("Password"); } else {