changeset 4212:bbd1236e9cc9

[gaim-migrate @ 4449] Thanks, Brandon Scott. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Mon, 06 Jan 2003 04:33:13 +0000
parents 468f1ce401db
children a9f5247a1840
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Jan 06 00:26:49 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Jan 06 04:33:13 2003 +0000
@@ -2008,6 +2008,11 @@
 		struct ask_direct *d = g_new0(struct ask_direct, 1);
 		char buf[256];
 
+		if (!args->verifiedip) {
+				debug_printf("directim kill blocked (%s)\n", userinfo->sn);
+				return 1;
+		}
+
 		debug_printf("%s received direct im request from %s (%s)\n",
 				gc->username, userinfo->sn, args->verifiedip);