diff --git a/modules/disconkick.cpp b/modules/disconkick.cpp index 4675aabe..eb79809e 100644 --- a/modules/disconkick.cpp +++ b/modules/disconkick.cpp @@ -21,8 +21,10 @@ public: for(vector::const_iterator it = vChans.begin(); it != vChans.end(); ++it) { - PutUser(":ZNC!znc@znc.in KICK " + (*it)->GetName() + " " + m_pUser->GetIRCNick().GetNick() + if((*it)->IsOn()) { + PutUser(":ZNC!znc@znc.in KICK " + (*it)->GetName() + " " + m_pUser->GetIRCNick().GetNick() + " :You have been disconnected from the IRC server"); + } } } };