diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-15 02:10:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-15 02:10:09 +0300 |
commit | 435c12617241fb87225987f2e3f0521cf2dbae75 (patch) | |
tree | 16add38ce29c63cea06757bb835eadbfb4e59a01 /src/utils/gmfunctions.cpp | |
parent | c29d9bec9751fbd836e59cb3ba60e778fca2f987 (diff) | |
download | plus-s20180215.tar.gz plus-s20180215.tar.bz2 plus-s20180215.tar.xz plus-s20180215.zip |
Remove unused channel parameter from talk methods.s20180215
Diffstat (limited to 'src/utils/gmfunctions.cpp')
-rw-r--r-- | src/utils/gmfunctions.cpp | 24 |
1 files changed, 8 insertions, 16 deletions
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)); } } |