mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Added ability to retain topics
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@113 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -469,6 +469,7 @@ void CUserSock::UserCommand(const string& sLine) {
|
||||
Table.AddColumn("Users");
|
||||
Table.AddColumn("+o");
|
||||
Table.AddColumn("+v");
|
||||
Table.AddColumn("Topic");
|
||||
|
||||
for (unsigned int a = 0; a < vChans.size(); a++) {
|
||||
CChan* pChan = vChans[a];
|
||||
@@ -488,6 +489,7 @@ void CUserSock::UserCommand(const string& sLine) {
|
||||
Table.SetCell("Users", CUtils::ToString(pChan->GetNickCount()));
|
||||
Table.SetCell("+o", CUtils::ToString(pChan->GetOpCount()));
|
||||
Table.SetCell("+v", CUtils::ToString(pChan->GetVoiceCount()));
|
||||
Table.SetCell("Topic", pChan->GetTopic());
|
||||
}
|
||||
|
||||
if (Table.size()) {
|
||||
|
||||
Reference in New Issue
Block a user