Fixing BR #233 - redirecting chanservs welcome messages to the channel buffer
[quassel.git] / src / common / network.h
index 4bbd984..ee6ba7f 100644 (file)
@@ -298,6 +298,9 @@ signals:
   void disconnectRequested(NetworkId id = 0) const;
   void setNetworkInfoRequested(const NetworkInfo &) const;
 
+protected:
+  inline virtual IrcChannel *ircChannelFactory(const QString &channelname) { return new IrcChannel(channelname, this); }
+
 private:
   QPointer<SignalProxy> _proxy;