~ubuntu-branches/ubuntu/oneiric/irssi/oneiric

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2009-05-05 15:50:50 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505155050-aoqlnpes7che9rtd
Tags: 0.8.13-1ubuntu1
* Merge from debian unstable (LP: #372411), remaining changes:
  - debian/patches: 03firsttimer_text
    + Adapt it so it tells you about connecting to irc.ubuntu.com and
      joining #ubuntu instead of irc.debian.org and #debian.
  - debian/patches: 90irc-ubuntu-com
* Fixed debian/patches/90irc-ubuntu-com for new irssi.conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include "signals.h"
23
23
#include "commands.h"
24
24
#include "network.h"
25
 
#include "line-split.h"
26
25
#include "misc.h"
27
26
#include "settings.h"
28
27
#include "ignore.h"
333
332
static void ctcp_msg(IRC_SERVER_REC *server, const char *data,
334
333
                     const char *nick, const char *addr, const char *target)
335
334
{
336
 
        if (g_strncasecmp(data, "dcc ", 4) != 0)
 
335
        if (g_ascii_strncasecmp(data, "dcc ", 4) != 0)
337
336
                return;
338
337
        data += 4;
339
338
 
346
345
static void ctcp_reply(IRC_SERVER_REC *server, const char *data,
347
346
                       const char *nick, const char *addr, const char *target)
348
347
{
349
 
        if (g_strncasecmp(data, "dcc ", 4) != 0)
 
348
        if (g_ascii_strncasecmp(data, "dcc ", 4) != 0)
350
349
                return;
351
350
        data += 4;
352
351