diff options
author | MaZderMind | 2014-11-09 20:59:40 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-09 20:59:40 +0100 |
commit | 2cce3786bf96df6ec42ce22013c2ed8a5252e8fb (patch) | |
tree | 447fc9d8999f80e3f9c8958c989bf41d2b6bf7b5 /lib/helper.php | |
parent | b5cd8aa32cf2e9c83ec457fbb0a235cdec8e37cd (diff) |
implement correct irc channel names
Diffstat (limited to '')
-rw-r--r-- | lib/helper.php | 5 |
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'])) |