mirror of
https://github.com/znc/znc.git
synced 2026-05-08 22:34:45 +02:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user