Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Channels can have # as a name #2

Merged
merged 1 commit into from

2 participants

@killerrabbit

No description provided.

@FiXato FiXato merged commit 02a4e5c into FiXato:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 19, 2013
  1. @killerrabbit
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 clone_scanner.py
View
4 clone_scanner.py
@@ -227,7 +227,7 @@ def format_from_config(msg, config_option):
def on_join_scan_cb(data, signal, signal_data):
network = signal.split(',')[0]
joined_nick = weechat.info_get("irc_nick_from_host", signal_data)
- join_match_data = re.match(':[^!]+!([^@]+@(\S+)) JOIN :?([#&]\S+)', signal_data)
+ join_match_data = re.match(':[^!]+!([^@]+@(\S+)) JOIN :?([#&]\S*)', signal_data)
parsed_ident_host = join_match_data.group(1).lower()
parsed_host = join_match_data.group(2).lower()
if weechat.config_get_plugin("compare_idents") == "on":
@@ -312,7 +312,7 @@ def get_channel_from_buffer_args(buffer, args):
if not channel_name:
channel_name = weechat.buffer_get_string(buffer, "localvar_channel")
- match_data = re.match('\A(irc.)?([^.]+)\.([#&]\S+)\Z', channel_name)
+ match_data = re.match('\A(irc.)?([^.]+)\.([#&]\S*)\Z', channel_name)
if match_data:
channel_name = match_data.group(3)
server_name = match_data.group(2)
Something went wrong with that request. Please try again.