summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-02-07 21:15:27 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-02-07 21:15:27 +0000
commit014ac7aa42b1ad1c62fa15366bc8fc2b3ef97488 (patch)
treea6b613ea94aef9e46034e1bc66e3a319b6bcd460 /src/modules
parenta83b933a88f2dd117d21c721490f32eb7da8cded (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')
-rw-r--r--src/modules/m_cloaking.cpp2
-rw-r--r--src/modules/m_foobar.cpp8
2 files changed, 5 insertions, 5 deletions
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);
}
};