diff --git a/utils.py b/utils.py index eebd440..78c96f5 100644 --- a/utils.py +++ b/utils.py @@ -189,7 +189,7 @@ def parseModes(irc, target, args): prefix = mode else: if not prefix: - raise ValueError('Invalid query %r: mode char given without preceding prefix.' % modestring) + prefix = '+' arg = None log.debug('Current mode: %s%s; args left: %s', prefix, mode, args) try: