|
@@ -143,7 +143,7 @@ public final class ChannelEventHandler extends EventHandler implements
|
143
|
143
|
|
144
|
144
|
owner.doNotification("channel"
|
145
|
145
|
+ (isMyself(cChannelClient) ? "Self" : "") + "Part"
|
146
|
|
- + (sReason.isEmpty() ? "" : "Reason"), CoreActionType.CHANNEL_PART,
|
|
146
|
+ + (sReason.length() == 0 ? "" : "Reason"), CoreActionType.CHANNEL_PART,
|
147
|
147
|
cChannelClient, sReason);
|
148
|
148
|
owner.removeClient(cChannelClient);
|
149
|
149
|
}
|
|
@@ -155,7 +155,7 @@ public final class ChannelEventHandler extends EventHandler implements
|
155
|
155
|
final String sReason, final String sKickedByHost) {
|
156
|
156
|
checkParser(tParser);
|
157
|
157
|
|
158
|
|
- owner.doNotification("channelKick" + (sReason.isEmpty() ? "" : "Reason"),
|
|
158
|
+ owner.doNotification("channelKick" + (sReason.length() == 0 ? "" : "Reason"),
|
159
|
159
|
CoreActionType.CHANNEL_KICK, cKickedByClient, cKickedClient, sReason);
|
160
|
160
|
owner.removeClient(cKickedClient);
|
161
|
161
|
}
|
|
@@ -166,7 +166,7 @@ public final class ChannelEventHandler extends EventHandler implements
|
166
|
166
|
final ChannelClientInfo cChannelClient, final String sReason) {
|
167
|
167
|
checkParser(tParser);
|
168
|
168
|
|
169
|
|
- owner.doNotification("channelQuit" + (sReason.isEmpty() ? "" : "Reason"),
|
|
169
|
+ owner.doNotification("channelQuit" + (sReason.length() == 0 ? "" : "Reason"),
|
170
|
170
|
CoreActionType.CHANNEL_QUIT, cChannelClient, sReason);
|
171
|
171
|
owner.removeClient(cChannelClient);
|
172
|
172
|
}
|
|
@@ -202,7 +202,7 @@ public final class ChannelEventHandler extends EventHandler implements
|
202
|
202
|
final String sModes) {
|
203
|
203
|
checkParser(tParser);
|
204
|
204
|
|
205
|
|
- if (sHost.isEmpty()) {
|
|
205
|
+ if (sHost.length() == 0) {
|
206
|
206
|
owner.doNotification(sModes.length() <= 1 ? "channelNoModes"
|
207
|
207
|
: "channelModeDiscovered", CoreActionType.CHANNEL_MODESDISCOVERED,
|
208
|
208
|
sModes.length() <= 1 ? "" : sModes);
|