diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/core/m_kick.c | 3 | ||||
-rw-r--r-- | modules/core/m_sjoin.c | 2 | ||||
-rw-r--r-- | modules/m_dline.c | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/modules/core/m_kick.c b/modules/core/m_kick.c index c4cec5e..54551ed 100644 --- a/modules/core/m_kick.c +++ b/modules/core/m_kick.c @@ -52,7 +52,6 @@ m_kick(struct Client *client_p, struct Client *source_p, { struct Client *who; struct Channel *chptr; - int chasing = 0; char *comment; char *name; char *p = NULL; @@ -160,7 +159,7 @@ m_kick(struct Client *client_p, struct Client *source_p, if (*user == '\0') return 0; - if ((who = find_chasing(source_p, user, &chasing)) == NULL) + if ((who = find_chasing(source_p, user)) == NULL) return 0; if ((ms_target = find_channel_link(who, chptr)) != NULL) diff --git a/modules/core/m_sjoin.c b/modules/core/m_sjoin.c index 8d025f2..52bc69c 100644 --- a/modules/core/m_sjoin.c +++ b/modules/core/m_sjoin.c @@ -344,7 +344,7 @@ ms_sjoin(struct Client *client_p, struct Client *source_p, } } while (valid_mode); - target_p = find_chasing(source_p, s, NULL); + target_p = find_chasing(source_p, s); /* * if the client doesnt exist, or if its fake direction/server, skip. diff --git a/modules/m_dline.c b/modules/m_dline.c index ffa8238..5667d44 100644 --- a/modules/m_dline.c +++ b/modules/m_dline.c @@ -181,7 +181,7 @@ mo_dline(struct Client *client_p, struct Client *source_p, if ((t = parse_netmask(dlhost, NULL, &bits)) == HM_HOST) { - if ((target_p = find_chasing(source_p, dlhost, NULL)) == NULL) + if ((target_p = find_chasing(source_p, dlhost)) == NULL) return 0; if (!MyConnect(target_p)) @@ -301,7 +301,7 @@ ms_dline(struct Client *client_p, struct Client *source_p, if ((t = parse_netmask(dlhost, NULL, &bits)) == HM_HOST) { - if ((target_p = find_chasing(source_p, dlhost, NULL)) == NULL) + if ((target_p = find_chasing(source_p, dlhost)) == NULL) return 0; if (!MyConnect(target_p)) |