From 2267a328b237099fa9551c61bd3f14594cb9af63 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 21 Aug 2016 14:35:05 +0200 Subject: Add config option for extra topic --- src/crsm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crsm.cpp') diff --git a/src/crsm.cpp b/src/crsm.cpp index 3fc66aa..17d4dee 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -1257,7 +1257,7 @@ void CRSM::ircSetIngameChannelTopic() { if(Session.State == CRSMSession::None) { - connection->sendCommand(IrcCommand::createTopic(Config.IRC.IngameChannel, "Kein laufendes Spiel.")); + connection->sendCommand(IrcCommand::createTopic(Config.IRC.IngameChannel, Config.IRC.IngameChannelExtraTopic + "Kein laufendes Spiel.")); } else { @@ -1276,7 +1276,7 @@ void CRSM::ircSetIngameChannelTopic() case CRSMSession::None: // is handled above break; } - connection->sendCommand(IrcCommand::createTopic(Config.IRC.IngameChannel, "Aktuelles Szenario: " + Session.Scenario.name + " | " + statusText + " | Ingamechat ist " + (Session.IRC.UseIngameChat ? "" : "de") + "aktiviert.")); + connection->sendCommand(IrcCommand::createTopic(Config.IRC.IngameChannel, Config.IRC.IngameChannelExtraTopic + "Aktuelles Szenario: " + Session.Scenario.name + " | " + statusText + " | Ingamechat ist " + (Session.IRC.UseIngameChat ? "" : "de") + "aktiviert.")); } } } -- cgit v1.2.3-54-g00ecf