aboutsummaryrefslogtreecommitdiffstats
path: root/src/web_server/bot_executor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/web_server/bot_executor.rs')
-rw-r--r--src/web_server/bot_executor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web_server/bot_executor.rs b/src/web_server/bot_executor.rs
index fde3c08..0d3e7b7 100644
--- a/src/web_server/bot_executor.rs
+++ b/src/web_server/bot_executor.rs
@@ -1,6 +1,6 @@
use std::sync::Arc;
-use actix::{Actor, Handler, Message, SyncContext};
+use actix::{Actor, Context, Handler, Message};
use crate::bot::MasterBot;
use crate::web_server::BotData;
@@ -8,7 +8,7 @@ use crate::web_server::BotData;
pub struct BotExecutor(pub Arc<MasterBot>);
impl Actor for BotExecutor {
- type Context = SyncContext<Self>;
+ type Context = Context<Self>;
}
pub struct BotNameListRequest;