diff --git a/chatcommands.py b/chatcommands.py index c40b3e4f9a..72f2876227 100644 --- a/chatcommands.py +++ b/chatcommands.py @@ -713,14 +713,14 @@ def master(): # noinspection PyIncorrectDocstring,PyProtectedMember -@command(privileged=True) -def pull(): +@command(privileged=True, aliases=["pull-force"]) +def pull(alias_used='pull'): """ Pull an update from GitHub :return: String on failure, None on success """ remote_diff = GitManager.get_remote_diff() - if only_blacklists_changed(remote_diff): + if not alias_used == "pull-force" and only_blacklists_changed(remote_diff): GitManager.pull_remote() findspam.FindSpam.reload_blacklists() GlobalVars.reload()