X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fnetwork.h;h=55e953aca221a13408e21d531c78d4315c80150a;hb=91e19c05228aaba95ef27b580b35fc6ed2af7517;hp=e425701eaa64d4cccfbc24e0f783a13c0dd558ac;hpb=edaef2d9c65a467f3a2ccf4df1702d92d8a41506;p=quassel.git diff --git a/src/common/network.h b/src/common/network.h index e425701e..55e953ac 100644 --- a/src/common/network.h +++ b/src/common/network.h @@ -269,6 +269,12 @@ public slots: inline void initSetServerList(const QVariantList &serverList) { _serverList = fromVariantList(serverList); } virtual void initSetIrcUsersAndChannels(const QVariantMap &usersAndChannels); + /** + * Update IrcUser hostmask and username from mask, creating an IrcUser if one does not exist. + * + * @param[in] mask Full nick!user@hostmask string + * @return IrcUser of the matching nick if exists, otherwise a new IrcUser + */ IrcUser *updateNickFromMask(const QString &mask); // these slots are to keep the hashlists of all users and the