diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-31 02:24:26 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-31 02:24:26 +0000 |
| commit | 2b4c9a57ba522cd8dd01dc1f1d2761b66f97e4f2 (patch) | |
| tree | 97350ff115f7a3751e028c4959256b7a3627c1fe /sources/protocols/VSAbstractProtocol.java | |
| parent | 5a41d318c3460beaaeed9d44a1aa3c376956f7b2 (diff) | |
more elegant way to remove not relevantmessages.
Diffstat (limited to 'sources/protocols/VSAbstractProtocol.java')
| -rw-r--r-- | sources/protocols/VSAbstractProtocol.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sources/protocols/VSAbstractProtocol.java b/sources/protocols/VSAbstractProtocol.java index 92c458a..ea3eec2 100644 --- a/sources/protocols/VSAbstractProtocol.java +++ b/sources/protocols/VSAbstractProtocol.java @@ -93,7 +93,7 @@ abstract public class VSAbstractProtocol extends VSAbstractEvent { /* (non-Javadoc) * @see events.VSAbstractEvent#onStart() */ - public final boolean onStart() { + public final void onStart() { if (hasOnServerStart) { if (isServer) { currentContextIsServer(true); @@ -105,8 +105,6 @@ abstract public class VSAbstractProtocol extends VSAbstractEvent { onClientStart(); } } - - return true; } /* (non-Javadoc) @@ -179,10 +177,10 @@ abstract public class VSAbstractProtocol extends VSAbstractEvent { return false; if (message.isServerMessage()) { - if (isServer) + if (!isClient) return false; } else { - if (isClient) + if (!isServer) return false; } |
