Quassel now handles even huge ChatScenes without slowing to a crawl.
[quassel.git] / src / common / network.h
index 2bdda21..bf430f8 100644 (file)
@@ -95,6 +95,7 @@ public:
   QString networkName() const;
   QString currentServer() const;
   QString myNick() const;
+  inline IrcUser *me() const { return ircUser(myNick()); }
   IdentityId identity() const;
   QStringList nicks() const;
   QStringList channels() const;
@@ -181,6 +182,7 @@ public slots:
   void removeSupport(const QString &param);
 
   inline void addIrcUser(const QString &hostmask) { newIrcUser(hostmask); }
+  inline void addIrcChannel(const QString &channel) { newIrcChannel(channel); }
   void removeIrcUser(const QString &nick);
   void removeIrcChannel(const QString &channel);