diff --git a/README.md b/README.md index 7da9a8f..0771cdf 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ So if you encounter a spam flood then you can allow only registered users on cha If the spammer created a spam channel full of spam then you can remove it with: - /dropchannel #spamchannel + /drop #spamchannel License diff --git a/miniircd b/miniircd index 152d2fa..4185778 100755 --- a/miniircd +++ b/miniircd @@ -823,7 +823,7 @@ class Client: def drop_handler() -> None: if len(arguments) < 1: - self.reply_461(b"DROPCHANNEL") + self.reply_461(b"DROP") return if not self.is_operator: self.reply(b"481 %s :Permission denied" % (self.nickname)) @@ -1226,7 +1226,7 @@ class Client: handler_table = { b"AWAY": away_handler, b"BANS": bans_handler, - b"DROPCHANNEL": drop_handler, + b"DROP": drop_handler, b"FILTER": filter_handler, b"FILTERS": filters_handler, b"IDENTIFY": identify_handler,