equal
deleted
inserted
replaced
148 |
148 |
149 if event == 'MSG' and arg1 == 'IN': |
149 if event == 'MSG' and arg1 == 'IN': |
150 import os |
150 import os |
151 |
151 |
152 jid = arg2 |
152 jid = arg2 |
|
153 if not jid: |
|
154 print "Ignoring invalid MSG event line." |
|
155 return |
|
156 |
153 buddy = get_nick(jid) |
157 buddy = get_nick(jid) |
154 if jid in contact_custom_msg: |
158 if jid in contact_custom_msg: |
155 msg = contact_custom_msg[jid] |
159 msg = contact_custom_msg[jid] |
156 elif 'default' in contact_custom_msg: |
160 elif 'default' in contact_custom_msg: |
157 msg = contact_custom_msg['default'] |
161 msg = contact_custom_msg['default'] |