Browse files

For internal use

  • Loading branch information...
1 parent 481c002 commit 2bac0f7d8b0634312f95c2ae4dbe79271fc82501 @doubleyou doubleyou committed Jul 8, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/egeoip.erl
View
2 src/egeoip.erl
@@ -200,6 +200,8 @@
%% @spec get(R::geoip(), Field::geoip_field()) -> term()
%% @doc Get a field from the geoip record returned by lookup.
+get(R, country) ->
+ R#geoip.country_code;
get(R, country_code) ->
R#geoip.country_code;
get(R, country_code3) ->

0 comments on commit 2bac0f7

Please sign in to comment.