summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-08 09:18:10 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-08 09:18:10 +0200
commit7f843343b4116b20bb7d4b78ed6ed94400819931 (patch)
treeae554690608f37ea0cb0e4c7c96da9dd14d83f53
parented15b7b97190d86d741e27b7d52dee6a796e694e (diff)
wow plugin: return String form of realm from get_realm_status
This is needed to prevent an error from being raised when core.reply_with_nick is true
-rw-r--r--data/rbot/plugins/wow.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/wow.rb b/data/rbot/plugins/wow.rb
index 1350dd1a..8701c767 100644
--- a/data/rbot/plugins/wow.rb
+++ b/data/rbot/plugins/wow.rb
@@ -97,6 +97,7 @@ class RealmPlugin < Plugin
realm_data.attributes['s'].to_i,
realm_data.attributes['t'].to_i,
realm_data.attributes['l'].to_i)
+ realm.to_s
else
"realm #{realm_name} not found."
end