v0.2 bug fixes

master
Dmitry Isaenko 2019-01-02 18:08:45 +03:00
parent 623889602b
commit 1e4d8f9f21
1 changed files with 4 additions and 1 deletions

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){