https://wiki.znc.in/index.php?title=Broadcastquery/code&feed=atom&action=history
Broadcastquery/code - Revision history
2024-03-29T00:31:07Z
Revision history for this page on the wiki
MediaWiki 1.42.0-alpha
https://wiki.znc.in/index.php?title=Broadcastquery/code&diff=2038&oldid=prev
Gavin: restored from archive.org
2017-04-03T21:24:19Z
<p>restored from archive.org</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:24, 3 April 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l24">Line 24:</td>
<td colspan="2" class="diff-lineno">Line 24:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>GLOBALMODULEDEFS(CBroadcastQuery, "Sends all broadcasts as queries, instead of notices")</pre></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>GLOBALMODULEDEFS(CBroadcastQuery, "Sends all broadcasts as queries, instead of notices")</pre></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Modules/Code]]</ins></div></td></tr>
</table>
Gavin
https://wiki.znc.in/index.php?title=Broadcastquery/code&diff=82&oldid=prev
>Resistance: Restored code from internet-cached version stored at webarchive.org
2012-01-05T18:31:04Z
<p>Restored code from internet-cached version stored at webarchive.org</p>
<p><b>New page</b></p><div><pre>/*<br />
* Copyright (C) 2010 Brian Campbell "BrianC"<br />
*<br />
* This program is free software; you can redistribute it and/or modify it<br />
* under the terms of the GNU General Public License version 2 as published<br />
* by the Free Software Foundation.<br />
*/<br />
<br />
#include "User.h"<br />
#include "Modules.h"<br />
<br />
class CBroadcastQuery : public CGlobalModule {<br />
public:<br />
GLOBALMODCONSTRUCTOR(CBroadcastQuery) {}<br />
<br />
virtual EModRet OnBroadcast(CString &sMessage) {<br />
CString sModName = "broadcast";<br />
<br />
m_pUser->PutModule(sModName, sMessage);<br />
<br />
return HALTCORE;<br />
}<br />
};<br />
<br />
GLOBALMODULEDEFS(CBroadcastQuery, "Sends all broadcasts as queries, instead of notices")</pre></div>
>Resistance