Fixing raw cmd lock
This commit is contained in:
parent
2a7d346d52
commit
27ebcc0b65
@ -114,6 +114,7 @@ impl Irc {
|
|||||||
sys_name = elements.next().unwrap()[1..].to_owned();
|
sys_name = elements.next().unwrap()[1..].to_owned();
|
||||||
|
|
||||||
if context.is_owner(prefix) && sys_name == "raw" {
|
if context.is_owner(prefix) && sys_name == "raw" {
|
||||||
|
drop(context);
|
||||||
let mut context = self.context.write().await;
|
let mut context = self.context.write().await;
|
||||||
context.queue(&elements.collect::<Vec<_>>().join(" "));
|
context.queue(&elements.collect::<Vec<_>>().join(" "));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user