summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2014-05-09 13:46:19 +0200
committerSimeon Simeonov2014-05-09 13:46:19 +0200
commit4a09b47e45b544ee96dbb09577c51a4c7d4ea675 (patch)
treee13228ff6e5b2955c548250a835562e986c5a11a
parent8d05e72604a4f6e265e74c73d5cf355cd4c4b4f9 (diff)
Debug status listed in target-list
-rw-r--r--beinc_weechat.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/beinc_weechat.py b/beinc_weechat.py
index 59c27db..a3c4525 100644
--- a/beinc_weechat.py
+++ b/beinc_weechat.py
@@ -171,7 +171,7 @@ class WeechatTarget(object):
171 """ 171 """
172 return 'name: {0}\nurl: {1}\nchannel_list: {2}\nnick_list: {3}\n'\ 172 return 'name: {0}\nurl: {1}\nchannel_list: {2}\nnick_list: {3}\n'\
173 'channel_messages_policy: {4}\nprivate_messages_policy: {5}\n'\ 173 'channel_messages_policy: {4}\nprivate_messages_policy: {5}\n'\
174 'notifications_policy: {6}\nenabled: {7}\n\n'.format( 174 'notifications_policy: {6}\nenabled: {7}\ndebug: {8}\n\n'.format(
175 self.__name, 175 self.__name,
176 self.__url, 176 self.__url,
177 ', '.join(self.__chans), 177 ', '.join(self.__chans),
@@ -179,7 +179,8 @@ class WeechatTarget(object):
179 self.__chan_messages_policy, 179 self.__chan_messages_policy,
180 self.__priv_messages_policy, 180 self.__priv_messages_policy,
181 self.__notifications_policy, 181 self.__notifications_policy,
182 'yes' if self.__enabled else 'no') 182 'yes' if self.__enabled else 'no',
183 'yes' if self.__debug else 'no')
183 184
184 def send_private_message_notification(self, values): 185 def send_private_message_notification(self, values):
185 """ 186 """