Restrict bounce trigger to #w0bm
This commit is contained in:
parent
f5e47313e3
commit
cc42cdbda0
@ -37,7 +37,7 @@ class Useless(DatabasePlugin):
|
||||
def bounce(self, mask, target):
|
||||
nick = IrcString(mask).nick
|
||||
|
||||
if nick == self.bot.nick:
|
||||
if target != '#w0bm' or nick == self.bot.nick:
|
||||
return
|
||||
|
||||
self.bot.privmsg(target, '{}: Du musst bouncen!'.format(nick))
|
||||
|
Loading…
Reference in New Issue
Block a user