forked from karx/dircord
Add support for alternative ping syntax
This commit is contained in:
parent
be5200daac
commit
c59847007b
|
@ -195,7 +195,7 @@ async fn irc_loop(
|
|||
let mut id_cache: HashMap<String, Option<u64>> = HashMap::new();
|
||||
|
||||
lazy_static! {
|
||||
static ref PING_NICK_1: Regex = Regex::new(r"^[\w+]+:").unwrap();
|
||||
static ref PING_NICK_1: Regex = Regex::new(r"^[\w+]+(:|,)").unwrap();
|
||||
}
|
||||
|
||||
client.identify()?;
|
||||
|
|
Loading…
Reference in a new issue