+
+ if(newNicks.isEmpty())
+ return;
+
+ emit ircUsersJoined(newUsers);
+ emit ircUsersJoined(newNicks, newModes);
+}
+
+void IrcChannel::joinIrcUsers(const QStringList &nicks, const QStringList &modes) {
+ QList<IrcUser *> users;
+ foreach(QString nick, nicks)
+ users << network->newIrcUser(nick);
+ joinIrcUsers(users, modes);
+}
+
+void IrcChannel::joinIrcUsers(IrcUser *ircuser) {
+ QList <IrcUser *> users;
+ users << ircuser;
+ QStringList modes;
+ modes << QString();
+ joinIrcUsers(users, modes);