From 0efd83fa4b6a03d28d1e4853ae262edb48b096b0 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 15:04:46 +0000 Subject: And more git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3657 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 2 +- src/modules/m_foobar.cpp | 4 ++-- src/modules/m_helpop.cpp | 2 +- src/modules/m_hostchange.cpp | 2 +- src/modules/m_ident.cpp | 2 +- src/modules/m_kicknorejoin.cpp | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 880bbd1a3..3048795dc 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -550,7 +550,7 @@ class ModuleSSLOpenSSL : public Module } } - virtual void OnDecodeMetaData(int target_type, void* target, std::string extname, const 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")) diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp index 531176299..9cd8cb45e 100644 --- a/src/modules/m_foobar.cpp +++ b/src/modules/m_foobar.cpp @@ -69,7 +69,7 @@ class ModuleFoobar : public Module Srv->Log(DEBUG,"Foobar: User connecting: " + b); } - virtual void OnUserQuit(userrec* user, std::string reason) + virtual void OnUserQuit(userrec* user, const std::string &reason) { // method called when a user disconnects @@ -86,7 +86,7 @@ class ModuleFoobar : public Module Srv->Log(DEBUG,"Foobar: User " + b + " joined " + c); } - virtual void OnUserPart(userrec* user, chanrec* channel, std::string partreason) + virtual void OnUserPart(userrec* user, chanrec* channel, const std::string &partreason) { // method called when a user parts a channel diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index ecdc3f957..c76046727 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -214,7 +214,7 @@ class ModuleHelpop : public Module List[I_OnRehash] = List[I_OnExtendedMode] = List[I_OnWhois] = 1; } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { delete conf; if (helpop) diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index f6fd2bfa3..49dd99f67 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -65,7 +65,7 @@ class ModuleHostChange : public Module List[I_OnRehash] = List[I_OnUserConnect] = 1; } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { delete Conf; Conf = new ConfigReader; diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index a4a7fa34c..f11d6f330 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -151,7 +151,7 @@ class ModuleIdent : public Module List[I_OnCleanup] = List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnUserDisconnect] = 1; } - virtual void OnRehash(std::string parameter) + virtual void OnRehash(const std::string ¶meter) { ReadSettings(); } diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp index 2387abb3e..01373019c 100644 --- a/src/modules/m_kicknorejoin.cpp +++ b/src/modules/m_kicknorejoin.cpp @@ -103,7 +103,7 @@ public: return 0; } - virtual void OnUserKick(userrec* source, userrec* user, chanrec* chan, std::string reason) + virtual void OnUserKick(userrec* source, userrec* user, chanrec* chan, const std::string &reason) { if (chan->IsCustomModeSet('J') && (source != user)) { -- cgit v1.2.3