diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index e895b77d0..ce4cb5b87 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -152,7 +152,7 @@ void ModeWatcher::AfterMode(User*, User*, Channel*, const std::string&, bool) { } -void ModeParser::DisplayCurrentModes(User *user, User* targetuser, Channel* targetchannel, const char* text) +void ModeParser::DisplayCurrentModes(User* user, User* targetuser, Channel* targetchannel) { if (targetchannel) { @@ -384,7 +384,7 @@ void ModeParser::Process(const std::vector<std::string>& parameters, User* user, } if (parameters.size() == 1) { - this->DisplayCurrentModes(user, targetuser, targetchannel, target.c_str()); + this->DisplayCurrentModes(user, targetuser, targetchannel); return; } |