diff options
Diffstat (limited to 'wat')
-rw-r--r-- | wat/bot.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -45,7 +45,13 @@ func (w *WatBot) HandleIrcMsg(c *irc.Client, m *irc.Message) { } func (w *WatBot) Admin(m *irc.Message) bool { - return m.Prefix.Host == "mph.monster" + admins := [2]string{"mph.monster", "cranberry.juice"} + for _, admin := range admins { + if m.Prefix.Host == admin { + return true + } + } + return false } func (w *WatBot) Allowed(c string, r []string) bool { |