summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mode.h b/include/mode.h
index 3e30d5b88..9e57cf298 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -541,7 +541,7 @@ class CoreExport ModeParser : public fakederef<ModeParser>
/** Displays the value of a list mode
* Used by ModeParser::Process.
*/
- void DisplayListModes(User* user, Channel* chan, std::string &mode_sequence);
+ void DisplayListModes(User* user, Channel* chan, const std::string& mode_sequence);
/**
* Attempts to apply a mode change to a user or channel