con.getIRCIO().privmsg(recipient, nick + ", you had reminders!");
con.getIRCIO().privmsg(channel.name, reminder.target + ", you had reminders!");
	public void checkForReminders(IRCConnection[] connections) {		Reminder reminders[] = data.getUnnotifiedReminders();		if (reminders.length <= 0)			return;		for (int i = 0; i < reminders.length; i++) {			Reminder reminder = reminders[i];			IRCChannel channel = null;			//Find this reminder's target's user, if any			User target = data.getUserByName(reminder.target);			IRCConnection con = null;			String sender = reminder.sender;			if (iequals(reminder.sender, reminder.target))				sender = "yourself";			//Leave a message in the user's Home, if specified,			// search for the last server/channel they spoke in,			// or just find them anywhere.			if (target != null) {				if (target.home != null) {					// They have a Home in users.xml					for (int k = 0; k < connections.length; k++) {						con = connections[k];						channel = con.getServer().findChannel(target.home);						if (channel != null)							break;					}					if (channel == null) {						// Couldn't find the user's home channel.						// Reset home, and try again next time.						target.home = null;						return;					}				} else if (target.lastChannel != null) {					// Channel where they last spoke					channel = target.lastChannel;					con = channel.myServer.myConnection;				}			} else {				// Otherwise, we must look for this person in every channel				search:				for (int k = 0; k < connections.length; k++) {					con = connections[k];					IRCChannel[] channels = con.getServer().channels;					for (int j = 0; j < channels.length; j++)						if (channels[j].userInChannel(target, reminder.target)) {							channel = channels[j];							break search;						}				}			}			// Don't send the reminder if they're offline.			if (con != null && channel != null) {				con.getIRCIO().privmsg(recipient, nick + ", you had reminders!");				con.getIRCIO().privmsg(channel.name, reminder.target + ", reminder from " + sender + " [" + makeTime(reminder.timeSent) + " ago]: " + reminder.message);				reminder.notified = true;				reminder.timeNotified = System.currentTimeMillis();				data.writeData();				data.findNextReminderTime();			}		}	}