X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=main%2Futil.h;fp=main%2Futil.h;h=1a6d889f032e8c8d196ae42ba0f5a29bb4709cf7;hp=e7b74f9be4b70f146ec460bbae5c6483f8c97cec;hb=11ee1cf78677b51d8fea2749e8501216a831dfd7;hpb=3b9bdf4f134a8c4399fef776911434aa2b76f934 diff --git a/main/util.h b/main/util.h index e7b74f9b..1a6d889f 100644 --- a/main/util.h +++ b/main/util.h @@ -29,6 +29,8 @@ QString nickFromMask(QString mask); QString userFromMask(QString mask); QString hostFromMask(QString mask); +bool isChannelName(QString str); + /** * Writes a QVariant to a device. The data item is prefixed with the resulting blocksize, * so the corresponding function readDataFromDevice() can check if enough data is available