aboutsummaryrefslogtreecommitdiff
path: root/src/clientprotocol.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-08-24 17:56:41 +0100
committerGravatar Sadie Powell2022-08-24 17:56:41 +0100
commit65d50f04c00c8ec2b7a8744c9f0c7bc32841d8f3 (patch)
treeefaeab13042484aef51d98ec271b2c15d48600bc /src/clientprotocol.cpp
parentFix the last modified dates of the man pages. (diff)
Use std::string in the Serializer constructor.
Diffstat (limited to 'src/clientprotocol.cpp')
-rw-r--r--src/clientprotocol.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clientprotocol.cpp b/src/clientprotocol.cpp
index 666aa9af6..a7965bc6a 100644
--- a/src/clientprotocol.cpp
+++ b/src/clientprotocol.cpp
@@ -20,8 +20,8 @@
#include "inspircd.h"
-ClientProtocol::Serializer::Serializer(Module* mod, const char* Name)
- : DataProvider(mod, std::string("serializer/") + Name)
+ClientProtocol::Serializer::Serializer(Module* mod, const std::string& Name)
+ : DataProvider(mod, "serializer/" + Name)
, evprov(mod)
{
}