diff src/protocols/irc/parse.c @ 8351:ffa642240fc1

[gaim-migrate @ 9075] marv is incredibly patient, waiting a long time for this to go in you should all be using Jabber for file transfer anyway, but if you're still stuck in the stone age, now you can transfer files via IRC committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 27 Feb 2004 01:45:26 +0000
parents 7a6e30eb7aad
children 3f384e95c5c0
line wrap: on
line diff
--- a/src/protocols/irc/parse.c	Fri Feb 27 00:41:56 2004 +0000
+++ b/src/protocols/irc/parse.c	Fri Feb 27 01:45:26 2004 +0000
@@ -1,10 +1,10 @@
 /**
  * @file parse.c
- * 
+ *
  * gaim
  *
  * Copyright (C) 2003, Ethan Blanton <eblanton@cs.purdue.edu>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -307,6 +307,9 @@
 		buf = irc_format(irc, "vt:", "NOTICE", from, "\001VERSION Gaim IRC\001");
 		irc_send(irc, buf);
 		g_free(buf);
+	} else if (!strncmp(cur, "DCC SEND ", 9)) {
+		irc_dccsend_recv(irc, from, msg + 10);
+		return NULL;
 	}
 
 	ctcp = g_strdup(msg + 1);