aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2018-05-13 02:53:15 +0200
committerJokler <jokler.contact@gmail.com>2018-05-13 02:53:15 +0200
commit05178a7f5103a202723bf7acb90de2d72eedde1a (patch)
tree2a747cf0d70333712e389f11a11512407da1e6b8 /src/plugins
parent6137408aeead19cb194ef9324f0074cf95f86422 (diff)
downloadfrippy-05178a7f5103a202723bf7acb90de2d72eedde1a.tar.gz
frippy-05178a7f5103a202723bf7acb90de2d72eedde1a.zip
Factoids: Fix notice target on missing subcmd
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/factoids/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/factoids/mod.rs b/src/plugins/factoids/mod.rs
index 449055d..e3b28fc 100644
--- a/src/plugins/factoids/mod.rs
+++ b/src/plugins/factoids/mod.rs
@@ -267,7 +267,7 @@ impl<T: Database> Plugin for Factoids<T> {
if command.tokens.is_empty() {
return Ok(client
- .send_notice(&command.target, "Invalid command")
+ .send_notice(&command.source, "Invalid command")
.context(FrippyErrorKind::Connection)?);
}