[vlma-devel] commit: IRCNotifier: Don't connect on startup if no recipient is defined. ( Adrien Grand )
git version control
git at videolan.org
Sun Jun 22 23:49:20 CEST 2008
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Jun 22 23:27:03 2008 +0200| [931c2b74689e72bebadfef9fdb38f403ddfec9e9]
IRCNotifier: Don't connect on startup if no recipient is defined.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=931c2b74689e72bebadfef9fdb38f403ddfec9e9
---
.../org/videolan/vlma/notifier/MSNNotifier.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/vlma-core/src/main/java/org/videolan/vlma/notifier/MSNNotifier.java b/vlma-core/src/main/java/org/videolan/vlma/notifier/MSNNotifier.java
index 10ec37b..1466e58 100644
--- a/vlma-core/src/main/java/org/videolan/vlma/notifier/MSNNotifier.java
+++ b/vlma-core/src/main/java/org/videolan/vlma/notifier/MSNNotifier.java
@@ -45,7 +45,9 @@ public class MSNNotifier extends Notifier {
private String[] recipients;
public MSNNotifier() {
- connect();
+ if (isMSNEnabled()) {
+ connect();
+ }
}
/**
More information about the vlma-devel
mailing list