Alexander Barton
2a7dd06ebd
Code cleanup: mostly removing empty lines
2011-02-13 17:52:38 +01:00
Alexander Barton
03628dbeaf
Add Doxygen @file documentation to each source and header file
2011-02-13 17:52:38 +01:00
Alexander Barton
a57748e1a1
Implement channel mode 'O': "IRC operators only"
...
This channel mode is used on DALnet (bahamut), for example.
2011-01-10 12:15:05 +01:00
Alexander Barton
7321be2ccd
New numeric 329: get channel creation time on "MODE #chan" commands
2010-11-11 12:39:49 +01:00
Neale Pickett
28f8b50174
Show SSL status in WHOIS, numeric 275
...
"I've been wanting this for years and finally took the 5 minutes to
patch it in. I took the response code (275) from whatever's running
OFTC's IRC network."
-- Neale Pickett <neale@woozle.org>, Fri, 11 Jun 2010 17:32:41 -0500
(OFTC is running Hybrid ircd.)
2010-06-23 11:00:09 +02:00
Alexander Barton
79e1ec2b1e
New numeric RPL_STATSCONN (250): display connection statistics
...
The RPL_STATSCONN numeric (250) displays information about the
highest simoultaneous connection count and the number of all
accepted connections since the daemon started up.
Used by ircd-Hybrid, Bahamut, and Unreal for example.
2010-04-23 23:30:14 +02:00
Alexander Barton
9f58418765
Implemented new "secure clients only" channel mode: +z
...
Only clients using a SSL encrypted connection to the server are
allowed to join such a channel.
But please note three things:
a) already joined clients are not checked when setting this mode,
b) IRC operators are always allowed to join every channel, and
c) remote clients using a server not supporting this mode are not
checked either and therefore always allowed to join.
2010-01-17 14:20:07 +01:00
Alexander Barton
f58c8b94d9
Show our name (IRCD=ngIRCd) in ISUPPORT (005) numeric
...
Inspired by Hyperion IRC daemon.
2010-01-16 14:59:07 +01:00
Dana Dahlstrom
3a7d59c1ac
misspelling in ERR_NORECIPIENT reply
2009-03-25 20:44:40 +01:00
Florian Westphal
5a3128243f
irc.c: reject masks with wildcard after last dot
...
RFC 2812 says in section 3.3.1 ("Private Messages"):
The mask MUST have at least 1 (one) "." in it and no wildcards
following the last ".".
2009-01-18 00:36:38 +01:00
Alexander Barton
3243d9ee44
Implement the IRC command "SERVLIST"
...
The IRC command "SERVLIST" lists all the registered services, see RFC 2811, section 3.5.1.
The syntax is "SERVLIST [<mask> [<type>]]". The parameter <type> is not used by ngIRCd at
the moment, all registered services are of type 0 (which is the default when omitted).
2008-11-19 18:16:26 +01:00
Alexander Barton
2cc21caf32
Implement local channels (prefix "&")
...
This patch implements server-local channels, prefix "&", that are only
visible to users of the same local server and not in the network.
Patch written by Scott Perry (2008-06-04), see:
- http://arthur.barton.de/cgi-bin/bugzilla/show_bug.cgi?id=87
- http://arthur.barton.de/cgi-bin/bugzilla/attachment.cgi?id=24&action=view
2008-11-17 21:52:56 +01:00
Scott Perry
70254a5553
This patch implements a (maybe) compliant WHOWAS command.
...
It is hard to test this in the test suite because we 1) shouldn't rely on
previous tests populating WHOWAS and 2) don't connect a user for more than 30
seconds.
Also makes WHOWAS return ERR_NONICKNAMEGIVEN_MSG as implied by RFC.
2008-05-12 18:56:31 +02:00
Alexander Barton
4e56e5341f
Implement IRC commands SERVICE, SERVLIST, and SQUERY as dummy functions
...
SERVICE, SERVLIST, and SQUERY are required by RFC 2812 (it states in
section 3 that "all commands described in this section MUST be implemented
by any server for this protocol." -- So we implement them without (much)
actual functionality ...
2008-05-05 18:06:43 +02:00
Dana Dahlstrom
97cc58fb13
Invite: prefix last argument with colon when necessary.
2008-05-05 16:12:41 +02:00
Ali Shemiran
530112b114
Add support for modeless channels
...
Add support for modeless channels (+channels).
[fw@strlen.de:
- integrate test cases
- don't support +channels when compiled with --strict-rfc
- do not set +o mode for channel creator
- force +nt mode when channel is created ]
2008-05-01 15:55:12 +02:00
Alexander Barton
ddecfcd831
Implemented IRC commands INFO, USERS (dummy), and SUMMON (dummy).
2008-02-26 23:49:33 +01:00
Florian Westphal
8974e90552
implement '/STAT u' (uptime)
2007-12-11 11:29:43 +00:00
Alexander Barton
d4ed056147
Numeric 317: implemented "signon time" (displayed in WHOIS result).
2007-10-04 15:03:55 +00:00
Florian Westphal
5877bca4bc
fix RPL_LOCALUSERS_MSG (%ld -> %lu)
2006-12-02 14:24:36 +00:00
Florian Westphal
018e351630
-Whitespace Damage; Client_OperCount(), Client_UnknownCount(), Client_MyServerCount() return unsigned long
2006-10-07 10:40:52 +00:00
Florian Westphal
6e105bf87e
channel maxusers now unsigned long
2006-10-06 21:32:58 +00:00
Alexander Barton
257312b102
Changed Numerics 265 and 266 to follow ircd 2.11.x "standards".
2006-10-01 19:13:32 +00:00
Alexander Barton
bed98979dc
Enhanced ISUPPORT message (numeric 005).
2006-10-01 19:03:05 +00:00
Alexander Barton
ca32c1b311
Implementec numeric "333": Time and user name who set a channel topic.
2005-09-02 12:50:25 +00:00
Alexander Barton
bdaf53e799
Fixed TRACE: don't output "Serv" lines for ourself; display more info.
2004-02-28 02:18:16 +00:00
Alexander Barton
c40592d2ce
Removed "USE_" prefixes of configuration #defines.
2003-12-26 15:55:07 +00:00
Alexander Barton
7646739431
New message constant RPL_TRACEOPERATOR_MSG. Changed RPL_TRACESERVER_MSG.
2003-03-19 21:16:16 +00:00
Alexander Barton
42c4e6c7b1
- Added support for "TRACE" command.
2003-01-13 18:56:30 +00:00
Alexander Barton
c428ac7563
- Renamed RPL_FEATURE_MSG to RPL_ISUPPORT_MSG.
2003-01-02 17:55:28 +00:00
Alexander Barton
d19813cc4b
- new message ERR_CANTKILLSERVER_MSG.
2002-12-27 13:15:16 +00:00
Alexander Barton
ab44e1c6cc
- new messages: RPL_FEATURE, RPL_LOCALUSERS and RPL_NETUSERS.
2002-12-22 23:32:05 +00:00
Alexander Barton
d9e3f834d7
- fixed RPL_STATSCOMMANDS_MSG
2002-12-18 14:03:14 +00:00
Alexander Barton
892144dc71
- new constant RPL_YOURESERVICE_MSG, ERR_CHANNELISFULL_MSG, ERR_BADCHANNELKEY_MSG.
...
- fixed ERR_PASSWDMISMATCH_MSG.
2002-12-16 23:11:59 +00:00
Alexander Barton
9f74b95015
- new message ERR_TOOMANYCHANNELS_MSG.
2002-12-13 17:51:41 +00:00
Alexander Barton
c7f075236b
- new file header format (in english).
2002-12-12 12:23:43 +00:00
Alexander Barton
1e5fa014ba
- RPL_STATSLINKINFO_MSG ueberarbeitet, RPL_STATSLINKINFOZIP_MSG eingefuehrt.
2002-12-02 13:17:46 +00:00
Alexander Barton
15d78412bc
- neue Konstante RPL_TIME_MSG.
2002-11-24 18:45:31 +00:00
Alexander Barton
60f14cca38
- neue Meldungen: RPL_STATSLINKINFO, RPL_STATSCOMMANDS, RPL_ENDOFSTATS,
...
RPL_WHOWASUSER, RPL_ENDOFWHOWAS und ERR_WASNOSUCHNICK.
2002-11-22 23:08:04 +00:00
Alexander Barton
c0e7a0124d
- RPL_UMODEIS hat Code 221, nicht 211 ... *argl*
2002-11-22 22:56:58 +00:00
Alexander Barton
14e870e2ec
- Code-Formatierung korrigiert (da waren Tabs wo keine hin gehoerten).
2002-11-04 19:25:26 +00:00
Alexander Barton
c49bee8d0b
- RPL_YOURHOST_MSG nochmals leicht geaendert ...
2002-10-11 02:32:09 +00:00
Alexander Barton
452d98f329
- RPL_YOURHOST_MSG ist nun ircII-kompatibel :-)
2002-10-11 02:16:14 +00:00
Alexander Barton
c7b55aa6f4
- verwendete Datentypen aufgeraumt: beispielsweise INT32 ist nun oft ein LONG.
2002-10-09 16:53:02 +00:00
Alexander Barton
a33105dcd1
- Syntax von RPL_MYINFO_MSG korrigiert (liefert nun vier Parameter).
2002-10-03 15:49:17 +00:00
Alexander Barton
66b461a5ab
- neue Konstanten: RPL_ADMINME_MSG, RPL_ADMINLOC1_MSG, RPL_ADMINLOC2_MSG, RPL_ADMINEMAIL_MSG.
2002-09-16 09:23:40 +00:00
Alexander Barton
a6b61df983
- neue Konstanten fuer Invite- und Banlists: RPL_xxxLIST_MSG, RPL_ENDOFxxx_MSG
...
- neue Message ERR_UNKNOWNMODE_MSG.
2002-07-15 16:33:57 +00:00
Alexander Barton
646acbc0b2
- neue Konstanten ERR_INVITEONLYCHAN_MSG und ERR_BANNEDFROMCHAN_MSG.
2002-06-02 15:22:40 +00:00
Alexander Barton
ef328ab392
- neue Konstanten RPL_INVITING_MSG und ERR_USERONCHANNEL_MSG.
2002-06-02 14:15:50 +00:00
Alexander Barton
d5b4c6dfd3
- neue Konstante ERR_USERNOTINCHANNEL_MSG definiert.
2002-06-01 14:40:00 +00:00