From 7ef184998620a958b47a00b9199f117dc478cb04 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 15:23:14 +0000 Subject: Changed to const ref git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3659 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_ssl_dummy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_ssl_dummy.cpp b/src/modules/m_ssl_dummy.cpp index 1c6cd173a..973ce7b02 100644 --- a/src/modules/m_ssl_dummy.cpp +++ b/src/modules/m_ssl_dummy.cpp @@ -54,7 +54,7 @@ class ModuleSSLDummy : public Module } } - virtual void OnSyncUserMetaData(userrec* user, Module* proto, void* opaque, std::string extname) + virtual void OnSyncUserMetaData(userrec* user, Module* proto, void* opaque, const std::string &extname) { // check if the linking module wants to know about OUR metadata if(extname == "ssl") @@ -69,7 +69,7 @@ class ModuleSSLDummy : public Module } } - virtual void OnDecodeMetaData(int target_type, void* target, std::string extname, std::string extdata) + virtual void OnDecodeMetaData(int target_type, void* target, const std::string &extname, const std::string &extdata) { // check if its our metadata key, and its associated with a user if ((target_type == TYPE_USER) && (extname == "ssl")) -- cgit v1.2.3