aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 17ef37f9..c05ef99f 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -40,7 +40,7 @@ COMMENT_ACTIONS = {
"help": "Set the default github repo for the current channel"})
class Module(ModuleManager.BaseModule):
def _parse_ref(self, channel, ref):
- repo, _, number = ref.partition("#")
+ repo, _, number = ref.rpartition("#")
if not repo:
repo = channel.get_setting("github-default-repo", None)