diff options
Diffstat (limited to 'src/plugins/tell/mod.rs')
| -rw-r--r-- | src/plugins/tell/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/tell/mod.rs b/src/plugins/tell/mod.rs index a2c49f2..3a8feeb 100644 --- a/src/plugins/tell/mod.rs +++ b/src/plugins/tell/mod.rs @@ -43,13 +43,13 @@ impl<T: Database> Tell<T> { let sender = command.source.to_owned(); if receiver == sender { - //return Err(String::from("That's your name!")); + return Err(String::from("That's your name!")); } if command.source != command.target { if let Some(users) = client.list_users(&command.target) { if users.iter().any(|u| u.get_nickname() == receiver) { - //return Err(format!("{} is in this channel.", receiver)); + return Err(format!("{} is in this channel.", receiver)); } } } |
