Commit Diff


commit - f37e495a2badf94fff2eaff24ed730dbceef94e0
commit + 4a5dfcc3ace54de033f16503065831ed62433b2d
blob - edbbc38bee3412d0c336833f34393bebab5323c8
blob + e49e5a9a6127cc3f34771af77af096fc6d951eb6
--- src/ngircd/channel.c
+++ src/ngircd/channel.c
@@ -989,6 +989,7 @@ GLOBAL bool
 Channel_AddBan(CHANNEL *c, const char *mask )
 {
 	struct list_head *h = Channel_GetListBans(c);
+	LogDebug("Adding \"%s\" to \"%s\" %s list", mask, Channel_Name(c), "ban");
 	return Lists_Add(h, mask, false);
 }
 
@@ -997,6 +998,7 @@ GLOBAL bool
 Channel_AddInvite(CHANNEL *c, const char *mask, bool onlyonce)
 {
 	struct list_head *h = Channel_GetListInvites(c);
+	LogDebug("Adding \"%s\" to \"%s\" %s list", mask, Channel_Name(c), "invite");
 	return Lists_Add(h, mask, onlyonce);
 }
 
blob - 363c62dbeae305cf460b3203bcf846afc2804037
blob + 58c5d160df0913199c98547973a48cc97a4f69f0
--- src/ngircd/lists.c
+++ src/ngircd/lists.c
@@ -85,7 +85,6 @@ Lists_Add(struct list_head *header, const char *Mask, 
 	newelem->next = e;
 	header->first = newelem;
 
-	LogDebug("Added \"%s\" to invite list", Mask);
 	return true;
 }