Browse Source

Move 'prefix' elsewhere.

tags/0.6.3
Shane Mc Cormack 15 years ago
parent
commit
8752ba617a

+ 1
- 1
src/com/dmdirc/parser/interfaces/callbacks/ChannelModeMessageListener.java View File

51
 	 * @see com.dmdirc.parser.irc.ProcessMessage#callChannelModeMessage
51
 	 * @see com.dmdirc.parser.irc.ProcessMessage#callChannelModeMessage
52
 	 */
52
 	 */
53
 	void onChannelModeMessage(@FakableSource Parser tParser,
53
 	void onChannelModeMessage(@FakableSource Parser tParser,
54
-            char prefix,
55
             @FakableSource ChannelInfo cChannel,
54
             @FakableSource ChannelInfo cChannel,
55
+            char prefix,
56
             @FakableArgument ChannelClientInfo cChannelClient,
56
             @FakableArgument ChannelClientInfo cChannelClient,
57
             String sMessage,
57
             String sMessage,
58
             @FakableSource String sHost);
58
             @FakableSource String sHost);

+ 1
- 1
src/com/dmdirc/parser/interfaces/callbacks/ChannelModeNoticeListener.java View File

51
 	 * @see com.dmdirc.parser.irc.ProcessMessage#callChannelModeNotice
51
 	 * @see com.dmdirc.parser.irc.ProcessMessage#callChannelModeNotice
52
 	 */
52
 	 */
53
 	void onChannelModeNotice(@FakableSource Parser tParser,
53
 	void onChannelModeNotice(@FakableSource Parser tParser,
54
-            char prefix,
55
             @FakableSource ChannelInfo cChannel,
54
             @FakableSource ChannelInfo cChannel,
55
+            char prefix,
56
             @FakableArgument ChannelClientInfo cChannelClient,
56
             @FakableArgument ChannelClientInfo cChannelClient,
57
             String sMessage,
57
             String sMessage,
58
             @FakableSource String sHost);
58
             @FakableSource String sHost);

+ 2
- 2
src/com/dmdirc/parser/irc/ProcessMessage.java View File

316
      * @return true if a method was called, false otherwise
316
      * @return true if a method was called, false otherwise
317
      */
317
      */
318
     protected boolean callChannelModeNotice(final char prefix, final ChannelInfo cChannel, final ChannelClientInfo cChannelClient, final String sMessage, final String sHost) {
318
     protected boolean callChannelModeNotice(final char prefix, final ChannelInfo cChannel, final ChannelClientInfo cChannelClient, final String sMessage, final String sHost) {
319
-        return getCallbackManager().getCallbackType(ChannelModeNoticeListener.class).call(prefix, cChannel, cChannelClient, sMessage, sHost);
319
+        return getCallbackManager().getCallbackType(ChannelModeNoticeListener.class).call(cChannel, prefix, cChannelClient, sMessage, sHost);
320
     }
320
     }
321
     
321
     
322
     /**
322
     /**
331
      * @return true if a method was called, false otherwise
331
      * @return true if a method was called, false otherwise
332
      */
332
      */
333
     protected boolean callChannelModeMessage(final char prefix, final ChannelInfo cChannel, final ChannelClientInfo cChannelClient, final String sMessage, final String sHost) {
333
     protected boolean callChannelModeMessage(final char prefix, final ChannelInfo cChannel, final ChannelClientInfo cChannelClient, final String sMessage, final String sHost) {
334
-        return getCallbackManager().getCallbackType(ChannelModeMessageListener.class).call(prefix, cChannel, cChannelClient, sMessage, sHost);
334
+        return getCallbackManager().getCallbackType(ChannelModeMessageListener.class).call(cChannel, prefix, cChannelClient, sMessage, sHost);
335
     }
335
     }
336
     
336
     
337
     /**
337
     /**

Loading…
Cancel
Save