mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
irc: use extended regex in command /ignore
This commit is contained in:
@@ -44,7 +44,7 @@ Version 0.3.7 (under dev!)
|
||||
hashtable_map_string, hdata_check_pointer, hdata_char, hdata_hashtable and
|
||||
nicklist_get_next_item
|
||||
* alias: add default alias umode => /mode $nick
|
||||
* irc: use extended regex in command /list
|
||||
* irc: use extended regex in commands /ignore and /list
|
||||
* irc: use redirection to get channel modes after update of modes on channel,
|
||||
display output of /mode #channel, allow /mode without argument (display modes
|
||||
of current channel or user modes on server buffer)
|
||||
|
||||
@@ -146,7 +146,7 @@ irc_ignore_new (const char *mask, const char *server, const char *channel)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (regcomp (regex, complete_mask, REG_NOSUB | REG_ICASE) != 0)
|
||||
if (regcomp (regex, complete_mask, REG_NOSUB | REG_ICASE | REG_EXTENDED) != 0)
|
||||
{
|
||||
free (regex);
|
||||
free (complete_mask);
|
||||
|
||||
Reference in New Issue
Block a user