summaryrefslogtreecommitdiffstats
path: root/wat/bot.go
diff options
context:
space:
mode:
authormogad0n2021-03-10 19:33:48 +0530
committermogad0n2021-03-10 19:33:48 +0530
commit379891b2d09ced1187df3226f8693d39b64e36e2 (patch)
tree03b58f4245e16c2d6667acee5920bbc42babe01e /wat/bot.go
parent85ff6578e812248367b75c574e55dd19ec472087 (diff)
downloadwatbot-379891b2d09ced1187df3226f8693d39b64e36e2.tar.gz
watbot-379891b2d09ced1187df3226f8693d39b64e36e2.tar.bz2
watbot-379891b2d09ced1187df3226f8693d39b64e36e2.zip
initial commit
Diffstat (limited to 'wat/bot.go')
-rw-r--r--wat/bot.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/wat/bot.go b/wat/bot.go
index 100e4df..370641b 100644
--- a/wat/bot.go
+++ b/wat/bot.go
@@ -45,7 +45,7 @@ func (w *WatBot) HandleIrcMsg(c *irc.Client, m *irc.Message) {
}
func (w *WatBot) Admin(m *irc.Message) bool {
- return m.Prefix.Host == "tripsit/operator/hibs"
+ return m.Prefix.Host == "mph.monster"
}
func (w *WatBot) Allowed(c string, r []string) bool {
@@ -64,9 +64,9 @@ func (w *WatBot) CanRespond(m *irc.Message) bool {
if w.Allowed(m.Prefix.Host, w.c.IgnoredHosts) {
return false
}
- if !strings.Contains(m.Prefix.Host, "tripsit") {
- return false
- }
+ // if !strings.Contains(m.Prefix.Host, "") {
+ // return false
+ // }
if !w.Allowed(m.Params[0], w.c.PermittedChannels) {
return false
}