summaryrefslogtreecommitdiff
path: root/src/slist.c
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-31 06:15:29 +0000
committerDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-31 06:15:29 +0000
commitaa4b3e256377030d291fc2d5f4db94985ce04395 (patch)
tree993302c0cbe754612f69c22bbbc57d00220cabd4 /src/slist.c
parent47504c9de5accda45a19627fd2b6ec13baa6ba95 (diff)
replaced the alog() command with a new type-safe and stream-based Alog()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/slist.c')
-rw-r--r--src/slist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slist.c b/src/slist.c
index 986b09077..25efeb357 100644
--- a/src/slist.c
+++ b/src/slist.c
@@ -212,7 +212,7 @@ int slist_enum(SList * slist, const char *crange, slist_enumcb_t cb, ...)
if (!range) {
for (i = 0; i < slist->count; i++) {
if (!slist->list[i]) {
- alog("SList: warning: NULL pointer in the list (?)");
+ Alog() << "SList: warning: NULL pointer in the list (?)";
continue;
}
@@ -247,7 +247,7 @@ int slist_enum(SList * slist, const char *crange, slist_enumcb_t cb, ...)
}
for (i = n1; i <= n2 && i > 0 && i <= slist->count; i++) {
if (!slist->list[i - 1]) {
- alog("SList: warning: NULL pointer in the list (?)");
+ Alog() << "SList: warning: NULL pointer in the list (?)";
continue;
}