v0.2 bug fixes

This commit is contained in:
Dmitry Isaenko 2019-01-02 18:08:45 +03:00
parent 623889602b
commit 1e4d8f9f21

View file

@ -84,7 +84,10 @@ public class ChanelCommander implements Runnable {
came(joinMap, who, who);
}
private void privmsgCame(String who, String what){
came(msgMap, what, who);
if (what.indexOf(":")+1 < what.length()){
what = what.substring(what.indexOf(":")+1);
came(msgMap, what, who);
}
}
private void came(HashMap<String, String[]> map, String arg1, String arg2){