Don't complain when modules/karma.py can't find a user when it's in

karma-nickname-only mode
This commit is contained in:
jesopo 2018-10-02 14:35:35 +01:00
parent 67c22416cc
commit 16474dacef

View file

@ -41,10 +41,6 @@ class Module(ModuleManager.BaseModule):
setting = target
setting_target = user
if not event["channel"].has_user(user):
if verbose:
self.events.on("send.stderr").call(
module_name="Karma", target=event["channel"],
message="User not found")
return
positive = match.group(2)[0] == "+"