|
@@ -522,7 +522,7 @@ public class IRCParser implements Runnable {
|
522
|
522
|
* @see IRCParser#delUserModeChanged
|
523
|
523
|
* @see IRCParser#callUserModeChanged
|
524
|
524
|
*/
|
525
|
|
- public void onUserModeChange(IRCParser tParser, ClientInfo cClient, String sSetBy);
|
|
525
|
+ public void onUserModeChanged(IRCParser tParser, ClientInfo cClient, String sSetBy);
|
526
|
526
|
}
|
527
|
527
|
/**
|
528
|
528
|
* Arraylist for storing callback information for UserModeChanged.
|
|
@@ -1616,14 +1616,14 @@ public class IRCParser implements Runnable {
|
1616
|
1616
|
}
|
1617
|
1617
|
|
1618
|
1618
|
/**
|
1619
|
|
- * Add callback for UserModeChanged (onUserModeChange).
|
|
1619
|
+ * Add callback for UserModeChanged (onUserModeChanged).
|
1620
|
1620
|
*
|
1621
|
1621
|
* @see IRCParser.IUserModeChanged
|
1622
|
1622
|
* @param eMethod Reference to object that handles the callback
|
1623
|
1623
|
*/
|
1624
|
1624
|
public void addUserModeChanged(Object eMethod) { addCallback(eMethod, cbUserModeChanged); }
|
1625
|
1625
|
/**
|
1626
|
|
- * Delete callback for UserModeChanged (onUserModeChange).
|
|
1626
|
+ * Delete callback for UserModeChanged (onUserModeChanged).
|
1627
|
1627
|
*
|
1628
|
1628
|
* @see IRCParser.IUserModeChanged
|
1629
|
1629
|
* @param eMethod Reference to object that handles the callback
|
|
@@ -1640,7 +1640,7 @@ public class IRCParser implements Runnable {
|
1640
|
1640
|
boolean bResult = false;
|
1641
|
1641
|
for (int i = 0; i < cbUserModeChanged.size(); i++) {
|
1642
|
1642
|
try {
|
1643
|
|
- cbUserModeChanged.get(i).onUserModeChange(this, cClient, sSetby);
|
|
1643
|
+ cbUserModeChanged.get(i).onUserModeChanged(this, cClient, sSetby);
|
1644
|
1644
|
} catch (Exception e) { callErrorInfo(errError+errCanContinue,"Exception in Callback. ["+e.getMessage()+"]"); e.printStackTrace(); }
|
1645
|
1645
|
bResult = true;
|
1646
|
1646
|
}
|