summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-13 20:34:17 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-13 20:34:17 +0100
commit7994507bc3321172a369d5881f2b579a122a3c29 (patch)
tree5ffc8a89649438d7609250ee250c5a301fcdf00a /src/core.py
parent086cc82e1e85399fc8043dea598f75eff847b928 (diff)
downloadpoezio-7994507bc3321172a369d5881f2b579a122a3c29.tar.gz
poezio-7994507bc3321172a369d5881f2b579a122a3c29.tar.bz2
poezio-7994507bc3321172a369d5881f2b579a122a3c29.tar.xz
poezio-7994507bc3321172a369d5881f2b579a122a3c29.zip
Fix /bookmark command on non-MUC tabs
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 73ba79c6..791394d8 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1136,7 +1136,7 @@ class Core(object):
"""
args = arg.split()
nick = None
- if not isinstance(self.current_tab(), tabs.MucTab):
+ if len(args) == 0 and not isinstance(self.current_tab(), tabs.MucTab):
return
if len(args) == 0:
room = self.current_tab().get_room()