-QString BufferInfo::buffer() const {
- if(isChannelName(_bufferName))
- return _bufferName;
- else
- return nickFromMask(_bufferName); // FIXME get rid of global functions and use the Network stuff instead!
+
+BufferInfo BufferInfo::fakeStatusBuffer(NetworkId networkId)
+{
+ return BufferInfo(0, networkId, StatusBuffer);
+}
+
+
+QString BufferInfo::bufferName() const
+{
+ if (isChannelName(_bufferName))
+ return _bufferName;
+ else
+ return nickFromMask(_bufferName); // FIXME get rid of global functions and use the Network stuff instead!