equal
deleted
inserted
replaced
271 |
271 |
272 { |
272 { |
273 cmd_cb_t *cb = g_new (cmd_cb_t, 1); |
273 cmd_cb_t *cb = g_new (cmd_cb_t, 1); |
274 |
274 |
275 if (settings_opt_get_int ("cmd_header")) { |
275 if (settings_opt_get_int ("cmd_header")) { |
276 if (is_room (jid)) { |
276 if (settings_opt_get_int ("cmd_header_inline") || is_room (jid)) { |
277 gchar *mesg = g_strdup_printf ("$ %s", arg); |
277 gchar *mesg = g_strdup_printf ("$ %s", arg); |
278 gchar *utf = to_utf8 (mesg); |
278 gchar *utf = to_utf8 (mesg); |
279 g_free (mesg); |
279 g_free (mesg); |
280 cmd_send_msg (jid, NULL, utf); |
280 cmd_send_msg (jid, NULL, utf); |
281 g_free (utf); |
281 g_free (utf); |