This should make someone in #znc really happy. :P
This is based on a patch from SilverLeo.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1142
726aef4b-f618-498e-8847-
2d620e286838
SetNV("nick", m_sFormat);
if (m_pUser->GetKeepNick()) {
- sMessage = "You have KeepNick enabled. "
- "This won't work together with awaynick.";
- return false;
+ sMessage = "KeepNick disabled";
+ PutModule("You have KeepNick enabled. "
+ "This won't work together with awaynick.");
+ PutModule("Disabling KeepNick for you...");
+ m_pUser->SetKeepNick(false);
}
return true;