From 014ac7aa42b1ad1c62fa15366bc8fc2b3ef97488 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 7 Feb 2003 21:15:27 +0000 Subject: Changed to using LogLevels git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@163 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cloaking.cpp | 2 +- src/modules/m_foobar.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp index 91ab49054..46ed5cfec 100644 --- a/src/modules/m_cloaking.cpp +++ b/src/modules/m_cloaking.cpp @@ -39,7 +39,7 @@ class ModuleCloaking : public Module memcpy(&s2,a.c_str(),sizeof(long)); sprintf(ra,"%.8X",seed*s2*strlen(user->host)); string b = Srv->GetNetworkName() + "-" + ra + a; - Srv->Debug("cloak: allocated "+b); + Srv->Log(DEBUG,"cloak: allocated "+b); strcpy(user->dhost,b.c_str()); } } 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); } }; -- cgit v1.2.3