X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fnetwork.h;h=f6e7de1f9be10cae9a5e07c77d7e41e28ff7e4c4;hp=3e58fdaccbef1a383359b1a41003c6690c897ba0;hb=a0bcb6393bc23734c9df0283a3ddbe4ec63c2f11;hpb=0a43227b8cd44625f4881cc1545d42c8c8a4876c diff --git a/src/common/network.h b/src/common/network.h index 3e58fdac..f6e7de1f 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