From 01a6b5d21c8a24a133693c7c65779cfa78fc164d Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 2 Sep 2014 16:32:00 +0200 Subject: Change mode_sequence to be a const ref in ModeParser::Process() Also change the signature of DisplayListModes() to accept a const ref --- include/mode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 /** 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 -- cgit v1.3.1-10-gc9f91