From 435c12617241fb87225987f2e3f0521cf2dbae75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 15 Feb 2018 02:10:09 +0300 Subject: Remove unused channel parameter from talk methods. --- src/utils/gmfunctions.cpp | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'src/utils/gmfunctions.cpp') diff --git a/src/utils/gmfunctions.cpp b/src/utils/gmfunctions.cpp index 90e78f5ca..412f1a1a9 100644 --- a/src/utils/gmfunctions.cpp +++ b/src/utils/gmfunctions.cpp @@ -40,8 +40,7 @@ void runCommand(const std::string &command, { chatHandler->talk(std::string( settings.gmCommandSymbol).append( - command), - GENERAL_CHANNEL); + command)); } else { @@ -49,8 +48,7 @@ void runCommand(const std::string &command, settings.gmCommandSymbol).append( command).append( " ").append( - params), - GENERAL_CHANNEL); + params)); } } @@ -58,8 +56,7 @@ void runCommand(const std::string &command) { chatHandler->talk(std::string( settings.gmCommandSymbol).append( - command), - GENERAL_CHANNEL); + command)); } void runCharCommand(const std::string &command, @@ -72,8 +69,7 @@ void runCharCommand(const std::string &command, { chatHandler->talk(std::string( settings.gmCommandSymbol).append( - command), - GENERAL_CHANNEL); + command)); } else { @@ -81,8 +77,7 @@ void runCharCommand(const std::string &command, settings.gmCommandSymbol).append( command).append( " ").append( - params), - GENERAL_CHANNEL); + params)); } } else @@ -93,8 +88,7 @@ void runCharCommand(const std::string &command, " \"").append( name).append( "\" ").append( - params), - GENERAL_CHANNEL); + params)); } } @@ -105,8 +99,7 @@ void runCharCommand(const std::string &command, { chatHandler->talk(std::string( settings.gmCommandSymbol).append( - command), - GENERAL_CHANNEL); + command)); } else { @@ -114,8 +107,7 @@ void runCharCommand(const std::string &command, settings.gmCharCommandSymbol).append( command).append( " ").append( - name), - GENERAL_CHANNEL); + name)); } } -- cgit v1.2.3-70-g09d2