summaryrefslogtreecommitdiffstats
path: root/wat/bot.go
diff options
context:
space:
mode:
authoralex2018-11-14 22:38:32 +0000
committeralex2018-11-14 22:38:32 +0000
commit5c24c985d30b8b2cb3451a68bcfc1dc43c2949a7 (patch)
treeba5a8e45959984afe19f7b720a4d85d6a63c74a3 /wat/bot.go
parent237d91de163b1c20e6e5aaf49ee802dbde2397d6 (diff)
downloadwatbot-5c24c985d30b8b2cb3451a68bcfc1dc43c2949a7.tar.gz
watbot-5c24c985d30b8b2cb3451a68bcfc1dc43c2949a7.tar.bz2
watbot-5c24c985d30b8b2cb3451a68bcfc1dc43c2949a7.zip
changed coins to uint64 and started using uints all over the place
added toplost removed an ignore
Diffstat (limited to 'wat/bot.go')
-rw-r--r--wat/bot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wat/bot.go b/wat/bot.go
index 83f9317..33f5b80 100644
--- a/wat/bot.go
+++ b/wat/bot.go
@@ -61,7 +61,7 @@ func (w *WatBot) AllowedChannel(c string) bool {
func (w *WatBot) Msg(m *irc.Message) {
// bail out if you're not yves, if you're not tripsit or if you're not in an allowed channel
// but if you're an admin you can do whatever
- if m.Prefix.Host == "tripsit/user/creatonez" || m.Prefix.Host == "tripsit/user/Yves" || !strings.Contains(m.Prefix.Host, "tripsit") || (!w.AllowedChannel(m.Params[0]) && !w.Admin(m)) {
+ if m.Prefix.Host == "tripsit/user/creatonez" || !strings.Contains(m.Prefix.Host, "tripsit") || (!w.AllowedChannel(m.Params[0]) && !w.Admin(m)) {
return
}