Typo in src/IRCServer.py, 'defau;t' -> 'default'
This commit is contained in:
parent
0ed0b235e9
commit
40ffb6ce0e
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class Server(IRCObject.Object):
|
|||
def del_setting(self, setting):
|
||||
self.bot.database.server_settings.delete(self.id, setting)
|
||||
|
||||
def get_user_setting(self, nickname, setting, defau;t=None):
|
||||
def get_user_setting(self, nickname, setting, default=None):
|
||||
user_id = self.get_user_id(nickname)
|
||||
self.bot.database.user_settings.get(user_id, setting, default)
|
||||
def set_user_setting(self, nickname, setting, value):
|
||||
|
|
Loading…
Reference in a new issue