From 7f843343b4116b20bb7d4b78ed6ed94400819931 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 8 Aug 2008 09:18:10 +0200 Subject: [PATCH] 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 --- data/rbot/plugins/wow.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2