From 518e30840933c14989b5cc690acd899d1fa25c52 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Wed, 15 Jun 2016 22:50:13 +0200 Subject: Allow setting CTCP VERSION-replay through config --- src/crsm.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/crsm.cpp') diff --git a/src/crsm.cpp b/src/crsm.cpp index c0d3d45..19dc775 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -1806,6 +1806,10 @@ void CRSM::applyConfig() connection->sendCommand(IrcCommand::createJoin(Config.IRC.IngameChannel)); } } + if(connection != nullptr) + { + connection->setCtcpReplies({{"VERSION", Config.IRC.CtcpVersion}}); + } } else { -- cgit v1.2.3-54-g00ecf