Typo in src/IRCServer.py, 'defau;t' -> 'default'

This commit is contained in:
jesopo 2018-10-14 14:31:30 +01:00
parent 0ed0b235e9
commit 40ffb6ce0e

View file

@ -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):