Add /say and global announcements

This commit is contained in:
calzoneman 2013-03-20 13:35:06 -05:00
parent 755c4f49fd
commit c50dbece97
6 changed files with 64 additions and 12 deletions

View file

@ -19,6 +19,10 @@ function initCallbacks() {
showChannelRegistration();
});
socket.on('announcement', function(data) {
showAnnouncement(data.title, data.text);
});
socket.on('registerChannel', function(data) {
if(data.success) {
$('#chregnotice').remove();