partyline: Minor fix to loading saved channel topics

Follow up patch to r1898.

Patch again by Reed Loden (r33d), thanks a lot.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1901 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-04-11 08:58:15 +00:00
parent b9576f0ed1
commit 1bc56a6748
+2 -1
View File
@@ -119,7 +119,8 @@ public:
if (sAction == "topic") {
pChannel = FindChannel(sKey);
if (pChannel && !sKey.empty()) {
if (pChannel && !(it->second).empty()) {
PutChan(pChannel->GetNicks(), ":irc.znc.in TOPIC " + pChannel->GetName() + " :" + it->second);
pChannel->SetTopic(it->second);
}
}