summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/irc.rb2
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