aboutsummaryrefslogtreecommitdiffstats
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2013-05-20 19:25:46 +0100
committerGravatar Peter Powell2013-06-06 01:45:04 +0100
commitef3799a43a24f4b3da5e785765a6e4c01353845c (patch)
treea10167540156ba49efeb195cf427fe32c9d827aa /src/mode.cpp
parentConvert ConvNumeric() to use std::string instead of char[MAXBUF]. (diff)
downloadinspircd++-ef3799a43a24f4b3da5e785765a6e4c01353845c.tar.gz
inspircd++-ef3799a43a24f4b3da5e785765a6e4c01353845c.tar.bz2
inspircd++-ef3799a43a24f4b3da5e785765a6e4c01353845c.zip
Convert User::FormatNoticeMasks() to use std::string.
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 578fc2c27..ac0b111b1 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -190,7 +190,7 @@ void ModeParser::DisplayCurrentModes(User *user, User* targetuser, Channel* targ
/* Display user's current mode string */
user->WriteNumeric(RPL_UMODEIS, "%s :+%s",targetuser->nick.c_str(),targetuser->FormatModes());
if ((targetuser->IsOper()))
- user->WriteNumeric(RPL_SNOMASKIS, "%s +%s :Server notice mask", targetuser->nick.c_str(), targetuser->FormatNoticeMasks());
+ user->WriteNumeric(RPL_SNOMASKIS, "%s +%s :Server notice mask", targetuser->nick.c_str(), targetuser->FormatNoticeMasks().c_str());
return;
}
else