aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaZderMind2014-12-12 01:13:34 +0100
committerMaZderMind2014-12-12 14:34:22 +0100
commitf60e25ece5682f7b07d274e9f3bff88c0a48974b (patch)
tree3b2f3aff30d3320a5cb0f6661033b50d227afbb6 /lib
parentb817d50b16492757217c35007edaab107bad2ed1 (diff)
irc channel name & twitter link
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 c04bd12..3b699ad 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -64,6 +64,11 @@ function irc_channel($room)
return '31C3-hall-'.strtoupper(substr($room, 4, 1));
}
+function twitter_hashtag($room)
+{
+ return '#hall'.strtoupper(substr($room, 4, 1));
+}
+
function format_text($format)
{
return @$GLOBALS['CONFIG']['FORMAT_TEXT'][$format] ?: '';