summary refs log tree commit diff
path: root/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ignore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ignore.c b/ignore.c
index d65c35a..8aa3e1b 100644
--- a/ignore.c
+++ b/ignore.c
@@ -58,11 +58,11 @@ bool ignoreRemove(const char *pattern) {
 	return found;
 }
 
-enum Heat ignoreCheck(enum Heat heat, const struct Message *msg) {
+enum Heat ignoreCheck(enum Heat heat, uint id, const struct Message *msg) {
 	char match[512];
 	snprintf(
 		match, sizeof(match), "%s!%s@%s %s %s",
-		msg->nick, msg->user, msg->host, msg->cmd, (msg->params[0] ?: "")
+		msg->nick, msg->user, msg->host, msg->cmd, idNames[id]
 	);
 	for (size_t i = 0; i < ignore.len; ++i) {
 		if (fnmatch(ignore.patterns[i], match, FNM_CASEFOLD)) continue;
02 -0400'>2013-10-14Global git ignore .swo filesJune McEnroe 2013-10-14Add Heroku to zshJune McEnroe 2013-09-23Add gst git stash aliasJune McEnroe 2013-09-05Remove pacman stuffJune McEnroe Goodbye Arch. 2013-09-05Only alias hub if it existsJune McEnroe 2013-09-05chruby to ruby-2.0.0June McEnroe 2013-08-14Add nvmJune McEnroe 2013-07-09Add title commandJune McEnroe 2013-06-09Use default client keysJune McEnroe 2013-06-09Run games in separate X serverJune McEnroe 2013-06-08Add game wrapper to kill/restart unclutterJune McEnroe 2013-06-08Add git configJune McEnroe