iplookup plugin: support IPv6 too
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 3 Aug 2008 08:03:36 +0000 (10:03 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 3 Aug 2008 08:05:33 +0000 (10:05 +0200)
commitff949fe1c9dd0c179ecdce9340c04c05242d3a48
tree93beadde6ab06d8ddffe758e71f3d8f65a19dac9
parenta915f365139217ba985603181a7c7ceda3f1d9c6
iplookup plugin: support IPv6 too

This is achieved by moving the check for IP vs hostname in the
iplookup() method itself, and using the existing regexps to check if a
string is an IP or not.
data/rbot/plugins/iplookup.rb