diff --git a/src/commands.py b/src/commands.py index 7c1d8ea36..f1e4fd591 100644 --- a/src/commands.py +++ b/src/commands.py @@ -292,6 +292,8 @@ def getUser(irc, msg, args, state): state.errorNotRegistered(Raise=True) def getOtherUser(irc, msg, args, state): + # Although ircdb.users.getUser could accept a hostmask, we're explicitly + # excluding that from our interface with this check if ircutils.isUserHostmask(args[0]): state.errorNoUser(args[0]) try: