~ubuntu-branches/ubuntu/wily/weechat/wily

« back to all changes in this revision

Viewing changes to src/plugins/irc/irc.c

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bouthenot
  • Date: 2014-09-28 17:41:10 UTC
  • mfrom: (29.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20140928174110-bwlsn7gqmqfftnmb
Tags: 1.0.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
    /* modifiers */
190
190
    weechat_hook_modifier ("irc_color_decode", &irc_color_modifier_cb, NULL);
191
191
    weechat_hook_modifier ("irc_color_encode", &irc_color_modifier_cb, NULL);
 
192
    weechat_hook_modifier ("irc_color_decode_ansi", &irc_color_modifier_cb, NULL);
192
193
 
193
194
    /* hook completions */
194
195
    irc_completion_init ();
210
211
            if (!irc_server_alloc_with_url (argv[i]))
211
212
            {
212
213
                weechat_printf (NULL,
213
 
                                _("%s%s: error with server from URL "
214
 
                                  "(\"%s\"), ignored"),
 
214
                                _("%s%s: unable to create temporary server "
 
215
                                  "\"%s\" (check if there is already a server "
 
216
                                  "with this name)"),
215
217
                                weechat_prefix ("error"), IRC_PLUGIN_NAME,
216
218
                                argv[i]);
217
219
            }
280
282
 
281
283
    irc_redirect_end ();
282
284
 
 
285
    irc_color_end ();
 
286
 
283
287
    return WEECHAT_RC_OK;
284
288
}