diff --git a/url.py b/url.py index de456bbe68..cfe4140de8 100644 --- a/url.py +++ b/url.py @@ -142,7 +142,10 @@ def process_urls(bot, trigger, urls): for url in urls: if not url.startswith(exclusion_char): # Magic stuff to account for international domain names - url = iri_to_uri(url) + try: + url = iri_to_uri(url) + except: + pass # First, check that the URL we got doesn't match matched = check_callbacks(bot, trigger, url, False) if matched: