aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJokler <jokler.contact@gmail.com>2017-12-25 15:38:32 +0100
committerJokler <jokler.contact@gmail.com>2017-12-25 15:38:32 +0100
commit046a0114f0e23be258cbb6834c286153b758ecaf (patch)
tree955d0aee13d05b2d6a3e2ec6fc1f1aa034d1059d
parent3d28c4e4bcff399e294a507187e051839f74ee87 (diff)
downloadfrippy-046a0114f0e23be258cbb6834c286153b758ecaf.tar.gz
frippy-046a0114f0e23be258cbb6834c286153b758ecaf.zip
Send all factoid info responses to the channel instead of the user
-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 fcbbb79..aeb83b0 100644
--- a/src/plugins/factoids/mod.rs
+++ b/src/plugins/factoids/mod.rs
@@ -129,7 +129,7 @@ impl<T: Database> Factoids<T> {
};
match count {
- 0 => server.send_notice(&command.source, &format!("{} does not exist", name)),
+ 0 => server.send_privmsg(&command.target, &format!("{} does not exist", name)),
1 => {
server.send_privmsg(&command.target,
&format!("There is 1 version of {}", name))