Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cool Fire
hexchat
Commits
6ec52342
Commit
6ec52342
authored
Mar 09, 2018
by
Patrick Griffis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix /ignore not accepting full hosts
Fixes #1828
parent
77c8fe14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/common/outbound.c
src/common/outbound.c
+4
-1
No files found.
src/common/outbound.c
View file @
6ec52342
...
...
@@ -2342,7 +2342,10 @@ cmd_ignore (struct session *sess, char *tbuf, char *word[], char *word_eol[])
return
FALSE
;
mask
=
word
[
2
];
if
(
strchr
(
mask
,
'?'
)
==
NULL
&&
/* If not a full mask or using wildcards, assume nick */
if
(
strchr
(
mask
,
'!'
)
==
NULL
&&
strchr
(
mask
,
'@'
)
==
NULL
&&
strchr
(
mask
,
'?'
)
==
NULL
&&
strchr
(
mask
,
'*'
)
==
NULL
)
{
mask
=
tbuf
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment