summaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.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_foobar.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_foobar.cpp')
-rw-r--r--src/modules/m_foobar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index b6b6eae10..a5b0553b0 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -68,7 +68,7 @@ class ModuleFoobar : public Module
// method called when a user connects
std::string b = user->nick;
- log(DEBUG,"Foobar: User connecting: "+b);
+ ServerInstance->Log(DEBUG,"Foobar: User connecting: "+b);
}
virtual void OnUserQuit(userrec* user, const std::string &reason)
@@ -76,7 +76,7 @@ class ModuleFoobar : public Module
// method called when a user disconnects
std::string b = user->nick;
- log(DEBUG,"Foobar: User quitting: "+b);
+ ServerInstance->Log(DEBUG,"Foobar: User quitting: "+b);
}
virtual void OnUserJoin(userrec* user, chanrec* channel)
@@ -85,7 +85,7 @@ class ModuleFoobar : public Module
std::string c = channel->name;
std::string b = user->nick;
- log(DEBUG,"Foobar: User "+b+" joined "+c);
+ ServerInstance->Log(DEBUG,"Foobar: User "+b+" joined "+c);
}
virtual void OnUserPart(userrec* user, chanrec* channel, const std::string &partreason)
@@ -94,7 +94,7 @@ class ModuleFoobar : public Module
std::string c = channel->name;
std::string b = user->nick;
- log(DEBUG,"Foobar: User "+b+" parted "+c);
+ ServerInstance->Log(DEBUG,"Foobar: User "+b+" parted "+c);
}
};