IRCServer.remove_own_mode doesn't take an "arg"

This commit is contained in:
jesopo 2018-08-30 11:17:00 +01:00
parent ebd3ab47c8
commit c5d445c715

View file

@ -127,7 +127,7 @@ class Server(object):
del self.own_modes[mode]
def change_own_mode(self, remove, mode, arg=None):
if remove:
self.remove_own_mode(mode, arg)
self.remove_own_mode(mode)
else:
self.add_own_mode(mode, arg)