summaryrefslogtreecommitdiff
path: root/src/modules.c
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-15 05:08:53 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-15 05:08:53 +0000
commit4ed066cc22b1d981289174506bff4886b97d0864 (patch)
treedea413138a05a15e50f0b30e1a9af144e38d921a /src/modules.c
parent3bdbd74fc6c55b4aff33d06cee8084757f592f33 (diff)
BUILD : 1.7.5 (399) BUGS : 180, 181 NOTES : code tidy up, fixes a few items from bug 180 and 181
git-svn-id: svn://svn.anope.org/anope/trunk@399 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@263 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r--src/modules.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules.c b/src/modules.c
index 0cb411905..2bab85f1a 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -900,7 +900,7 @@ int addCommand(CommandHash * cmdTable[], Command * c, int pos)
c->next = current->c;
current->c = c;
if (debug)
- alog("existing cmd: (%p), new cmd (0x%p)", c->next, (void *) c);
+ alog("existing cmd: (0x%p), new cmd (0x%p)", (void *) c->next, (void *) c);
return MOD_ERR_OK;
} else if (pos == 2) {
@@ -908,7 +908,7 @@ int addCommand(CommandHash * cmdTable[], Command * c, int pos)
while (tail->next)
tail = tail->next;
if (debug)
- alog("existing cmd: (%p), new cmd (0x%p)", tail, (void *) c);
+ alog("existing cmd: (0x%p), new cmd (0x%p)", (void *) tail, (void *) c);
tail->next = c;
c->next = NULL;
@@ -1122,14 +1122,14 @@ int addMessage(MessageHash * msgTable[], Message * m, int pos)
m->next = current->m;
current->m = m;
if (debug)
- alog("existing msg: (%p), new msg (0x%p)", m->next, (void *) m);
+ alog("existing msg: (0x%p), new msg (0x%p)", (void *) m->next, (void *) m);
return MOD_ERR_OK;
} else if (pos == 2) {
tail = current->m;
while (tail->next)
tail = tail->next;
if (debug)
- alog("existing msg: (%p), new msg (0x%p)", tail, (void *) m);
+ alog("existing msg: (0x%p), new msg (0x%p)", (void *) tail, (void *) m);
tail->next = m;
m->next = NULL;
return MOD_ERR_OK;