From 1cbddaa3478333ebd49c37243ca21e79d92e9634 Mon Sep 17 00:00:00 2001 From: morimoto Date: Sat, 2 Aug 2008 17:00:12 +0000 Subject: [PATCH] *** empty log message *** --- lib/Keitairc/ClientInfo.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/Keitairc/ClientInfo.pm b/lib/Keitairc/ClientInfo.pm index b5a9943..2753532 100644 --- a/lib/Keitairc/ClientInfo.pm +++ b/lib/Keitairc/ClientInfo.pm @@ -1,6 +1,6 @@ # -*- mode: perl; coding: utf-8 -*- # Keitairc::ClientInfo -# $Id: ClientInfo.pm,v 1.8 2008-08-02 16:25:51 morimoto Exp $ +# $Id: ClientInfo.pm,v 1.9 2008-08-02 17:00:12 morimoto Exp $ # $Source: /home/ishikawa/work/keitairc/tmp/keitairc/lib/Keitairc/ClientInfo.pm,v $ # # Copyright (c) 2008 Jun Morimoto @@ -102,6 +102,7 @@ sub softbank_serial{ return $1; } } + undef; } ################################################################ @@ -118,6 +119,7 @@ sub docomo_foma_icc{ return $1; } } + undef; } ################################################################ @@ -140,6 +142,8 @@ sub emobile_userid{ } ################################################################ +# we don't treat imodeid nor ser/icc of NTT DoCoMo, +# as they only send us them when they are forced to do it sub serial_key{ my $me = shift; if($me->is_softbank()){ @@ -151,6 +155,7 @@ sub serial_key{ if($me->is_emobile()){ return $me->emobile_userid(); } + undef; } ################################################################ @@ -161,6 +166,7 @@ sub cookie_available{ unless($me->is_docomo()){ return 1; } + 0; } 1; -- 2.11.0