Added QuitMsg config option

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@166 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-23 16:14:05 +00:00
parent 9b3ac7cb94
commit 77798b286a
6 changed files with 17 additions and 2 deletions

View File

@@ -377,6 +377,7 @@ void CUser::SetDenyLoadMod(bool b) { m_bDenyLoadMod = b; }
void CUser::SetDefaultChanModes(const string& s) { m_sDefaultChanModes = s; }
void CUser::SetIRCNick(const CNick& n) { m_IRCNick = n; }
void CUser::SetIRCServer(const string& s) { m_sIRCServer = s; }
void CUser::SetQuitMsg(const string& s) { m_sQuitMsg = s; }
bool CUser::SetStatusPrefix(const string& s) {
if ((!s.empty()) && (s.length() < 6) && (s.find(' ') == string::npos)) {
@@ -412,4 +413,5 @@ const string& CUser::GetDefaultChanModes() const { return m_sDefaultChanModes; }
const vector<CChan*>& CUser::GetChans() const { return m_vChans; }
const CNick& CUser::GetIRCNick() const { return m_IRCNick; }
const string& CUser::GetIRCServer() const { return m_sIRCServer; }
const string& CUser::GetQuitMsg() const { return m_sQuitMsg; }
// !Getters