This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var kiwiModules = require('../server/modules'); | |
var module = new kiwiModules.Module('Ident Cookie Module'); | |
module.on('irc connecting', function(event, event_data) { | |
var cookies = event_data.connection.state.client.websocket.transport.request ? | |
event_data.connection.state.client.websocket.transport.request.headers.cookie || '' : | |
''; | |
console.log(cookies); | |
var cookie_val = cookies.match(/[ ;^]?cookie_name=([^;]+)/); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "module.h" | |
#define AUTHOR "SGR" | |
#define VERSION "2.98" | |
#define MODNAME "ircd_ctcpversion" | |
/* ----------------------------------------------------------- | |
* Name : ircd_ctcpserv | |
* Author: SGR <[email protected]> | |
* Date : 17/11/2003 | |
* ----------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Determine if we have a narrow window (mobile/tablet/or even small desktop window) | |
if (el_kiwi.outerWidth() < 400) { | |
el_kiwi.addClass('narrow'); | |
el_right_bar.addClass('disabled'); | |
} else { | |
el_kiwi.removeClass('narrow'); | |
el_right_bar.removeClass('disabled'); | |
} |
NewerOlder