Swap parameters of event.
[xudocci.git] / src / main / java / net / pterodactylus / irc / event / ChannelMessageReceived.java
index 5cb6349..92aa293 100644 (file)
@@ -38,14 +38,14 @@ public class ChannelMessageReceived extends AbstractChannelEvent {
         *
         * @param connection
         *              The connection the event occured on
-        * @param channel
-        *              The channel of the message
         * @param source
         *              The source of the message
+        * @param channel
+ *             The channel of the message
         * @param message
         *              The text of the message
         */
-       public ChannelMessageReceived(Connection connection, String channel, Source source, String message) {
+       public ChannelMessageReceived(Connection connection, Source source, String channel, String message) {
                super(connection, channel);
                this.source = source;
                this.message = message;