summaryrefslogtreecommitdiff
path: root/src/modules/m_samode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:26:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:26:07 +0000
commite84bf9f3ec5a60078c32b272d3d7885c0708c544 (patch)
tree99fc8f4b4d7bede49e91f27abcdee6fb8c4fe6f4 /src/modules/m_samode.cpp
parentd17465716790010b6e3221f9ce49272110276ccf (diff)
Change to using Instance->Log (InspIRCd::Log) rather than log() macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_samode.cpp')
-rw-r--r--src/modules/m_samode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp
index f034d5b43..77d9a756d 100644
--- a/src/modules/m_samode.cpp
+++ b/src/modules/m_samode.cpp
@@ -55,12 +55,12 @@ class cmd_samode : public command_t
* Handles an SAMODE request. Notifies all +s users.
*/
std::string result;
- log(DEBUG,"SAMODE: Being handled");
+ ServerInstance->Log(DEBUG,"SAMODE: Being handled");
userrec* n = new userrec(ServerInstance);
n->fd = FD_MAGIC_NUMBER;
ServerInstance->SendMode(parameters,pcnt,n);
delete n;
- log(DEBUG,"SAMODE: Modechange handled");
+ ServerInstance->Log(DEBUG,"SAMODE: Modechange handled");
result = std::string(user->nick);
result.append(" used SAMODE");
for (int n = 0; n < pcnt; n++)