diff --git a/matrix/buffer.py b/matrix/buffer.py index 95a97a2..21c2c4b 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -758,14 +758,14 @@ class WeechatChannelBuffer(object): tags.append(SCRIPT_NAME + "_action") self._print_action(user, message, date, tags) - @property - def short_name(self): - return W.buffer_get_string(self._ptr, "short_name") - @property def type(self): return W.buffer_get_string(self._ptr, "localvar_type") + @property + def short_name(self): + return W.buffer_get_string(self._ptr, "short_name") + @short_name.setter def short_name(self, name): W.buffer_set(self._ptr, "short_name", name)