From e75f30b6dedf366d72d8d56b44fdbe191961fa72 Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Fri, 25 Nov 2016 08:33:15 -0800 Subject: Rename the `http` module to `rest` --- src/ext/framework/configuration.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ext/framework') diff --git a/src/ext/framework/configuration.rs b/src/ext/framework/configuration.rs index 4b0fc48..6dd4fd2 100644 --- a/src/ext/framework/configuration.rs +++ b/src/ext/framework/configuration.rs @@ -1,5 +1,5 @@ use std::default::Default; -use ::client::http; +use ::client::rest; pub struct Configuration { #[doc(hidden)] @@ -53,7 +53,7 @@ impl Configuration { return self; } - if let Ok(current_user) = http::get_current_user() { + if let Ok(current_user) = rest::get_current_user() { self.on_mention = Some(vec![ format!("<@{}>", current_user.id), // Regular mention format!("<@!{}>", current_user.id), // Nickname mention -- cgit v1.2.3