IRCServer.remove_own_mode doesn't take an "arg"
This commit is contained in:
parent
ebd3ab47c8
commit
c5d445c715
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class Server(object):
|
||||||
del self.own_modes[mode]
|
del self.own_modes[mode]
|
||||||
def change_own_mode(self, remove, mode, arg=None):
|
def change_own_mode(self, remove, mode, arg=None):
|
||||||
if remove:
|
if remove:
|
||||||
self.remove_own_mode(mode, arg)
|
self.remove_own_mode(mode)
|
||||||
else:
|
else:
|
||||||
self.add_own_mode(mode, arg)
|
self.add_own_mode(mode, arg)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue