From a0bcb6393bc23734c9df0283a3ddbe4ec63c2f11 Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Fri, 27 May 2016 00:39:43 -0400 Subject: [PATCH 1/1] Add docs to IrcUser::updateNickFromMask --- src/common/network.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.20.1