diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-02 17:17:38 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-02 17:17:38 +0000 |
commit | 151864f4dbdf26fd35369de1761d095f69888d91 (patch) | |
tree | d34ac92584ab9b02202c16508eca9a881f17d6b2 /lib/rbot | |
parent | 7287bb0af9381403e8fad1d71e6e83f93b2bd276 (diff) |
New Irc Framework: make Netmask.new(somenetmask) work
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/irc.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb index 129f947e..ed0b47f8 100644 --- a/lib/rbot/irc.rb +++ b/lib/rbot/irc.rb @@ -644,6 +644,8 @@ module Irc "#{nick}!#{user}@#{host}"
end
+ alias :to_str :fullform
+
# This method downcases the fullform of the netmask. While this may not be
# significantly different from the #downcase() method provided by the
# ServerOrCasemap mixin, it's significantly different for Netmask
|