[smuxi/stable] Engine-IRC: fixed already joined detection of /join command (closes: #921)



commit d0d457aebf6fdffa582cd612c9e33d0a2834ba66
Author: Mirco Bauer <meebey meebey net>
Date:   Thu Dec 26 13:50:24 2013 +0100

    Engine-IRC: fixed already joined detection of /join command (closes: #921)

 src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs 
b/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs
index 04c72d8..b55954f 100644
--- a/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs
+++ b/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs
@@ -1206,7 +1206,8 @@ namespace Smuxi.Engine
                 }
 
                 string key = keys != null && keys.Length > i ? keys[i] : null;
-                if (GetChat(chan, ChatType.Group) != null) {
+                var chat = GetChat(chan, ChatType.Group);
+                if (chat != null && chat.IsEnabled) {
                     builder = CreateMessageBuilder();
                     builder.AppendEventPrefix();
                     builder.AppendText(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]