diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-02-07 21:15:27 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2003-02-07 21:15:27 +0000 |
commit | 014ac7aa42b1ad1c62fa15366bc8fc2b3ef97488 (patch) | |
tree | a6b613ea94aef9e46034e1bc66e3a319b6bcd460 /src/modules/m_foobar.cpp | |
parent | a83b933a88f2dd117d21c721490f32eb7da8cded (diff) |
Changed to using LogLevels
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@163 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r-- | src/modules/m_foobar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp index 9aed188d8..0c8907bea 100644 --- a/src/modules/m_foobar.cpp +++ b/src/modules/m_foobar.cpp @@ -45,7 +45,7 @@ class ModuleFoobar : public Module // method called when a user connects string b = user->nick; - Srv->Debug("Foobar: User connecting: " + b); + Srv->Log(DEBUG,"Foobar: User connecting: " + b); } virtual void OnUserQuit(userrec* user) @@ -53,7 +53,7 @@ class ModuleFoobar : public Module // method called when a user disconnects string b = user->nick; - Srv->Debug("Foobar: User quitting: " + b); + Srv->Log(DEBUG,"Foobar: User quitting: " + b); } virtual void OnUserJoin(userrec* user, chanrec* channel) @@ -62,7 +62,7 @@ class ModuleFoobar : public Module string c = channel->name; string b = user->nick; - Srv->Debug("Foobar: User " + b + " joined " + c); + Srv->Log(DEBUG,"Foobar: User " + b + " joined " + c); } virtual void OnUserPart(userrec* user, chanrec* channel) @@ -71,7 +71,7 @@ class ModuleFoobar : public Module string c = channel->name; string b = user->nick; - Srv->Debug("Foobar: User " + b + " parted " + c); + Srv->Log(DEBUG,"Foobar: User " + b + " parted " + c); } }; |