aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 0393905..79770f3 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -40,6 +40,11 @@ function link_stream($protocol, $room, $format, $translated = false)
return '#';
}
+function irc_channel($room)
+{
+ return '31C3-hall-'.strtoupper(substr($room, 4, 1));
+}
+
function baseurl()
{
if(isset($GLOBALS['CONFIG']['baseurl']))