@Override
    public void buddyChanged(int cid, int cidFrom, String name, int channel, BuddyOperation operation) {
	final MapleCharacter addChar = server.getPlayerStorage().getCharacterById(cid);
	if (addChar != null) {
	    final BuddyList buddylist = addChar.getBuddylist();
	    switch (operation) {
		case ADDED:
		    if (buddylist.contains(cidFrom)) {
			buddylist.put(new BuddylistEntry(name, "ETC", cidFrom,  channel, true));
			addChar.getClient().getSession().write(MaplePacketCreator.updateBuddyChannel(cidFrom, channel - 1));
		    }
		    break;
		case DELETED:
		    if (buddylist.contains(cidFrom)) {
			buddylist.put(new BuddylistEntry(name, "ETC", cidFrom, -1, buddylist.get(cidFrom).isVisible()));
			addChar.getClient().getSession().write(MaplePacketCreator.updateBuddyChannel(cidFrom, -1));
		    }
		    break;
	    }
	}
    }