Commit Graph

192 Commits

Author SHA1 Message Date
ed
7cf71b33fa Fixed private messaging between users 2016-03-08 23:12:41 +00:00
ed
eed3517995 Normalized newlines so that \r and \n also work as message terminators
[messages are supposed to end in \r\n per RFC 1459, but some clients (Mibbit)
sometimes use \r or \n rather than \r\n]
2016-03-08 23:12:41 +00:00
ed
74dd329440 Make more use of the Client.key struct field 2016-03-08 23:12:41 +00:00
ed
e580513fa5 Update channel.modeMap when a client leaves a channel 2016-03-08 23:12:41 +00:00
ed
4fb9253cc5 - Refactored client.setNick
- Fixed an invalid memory access error that occurs whenever a chan op
  kicks a user from their channel after changing their nick (forgot to
  update the channel's modeMap in client.setNick)
2016-03-08 23:12:41 +00:00
ed
272ea046c4 Remove empty channels from the server channelMap when the last client leaves 2016-03-08 23:12:41 +00:00
ed
0bc9a528ff Set default channel mode to +stn 2016-03-08 23:12:41 +00:00
ed
0cba792bc5 Use MatchString instead of Match to save a []byte cast 2016-03-08 23:12:41 +00:00
ed
e289ba93eb Delay server.Run until everything is setup 2016-03-08 23:12:41 +00:00
ed
99050c7943 Closed auth and motd files in main after they are no longer needed 2016-03-08 23:12:41 +00:00
Harry Jeffery
39e8eca0ef Merge pull request #1 from iiori/fix-user
Fixed an index out of range error in the USER command handler
2016-02-28 22:33:44 +00:00
iiori
64e72362d9 Fixed an index out of range error that occurs when a client without a nick sends a USER command. 2016-02-27 20:58:34 -05:00
Harry Jeffery
cc79e22ffe Don't accept RC4 as a cipher
This is in conformance with RFC7465
2015-02-19 15:00:28 +00:00
Harry Jeffery
a769eb4767 Released version 1.1.1
Changelog:
- Fixed some protocol errors that'd make weechat complain
- Rosella now responds to pings with pongs
2013-10-21 13:36:27 +01:00
Harry Jeffery
6b011ef8c3 Reply to PING commands with PONG 2013-10-21 13:34:12 +01:00
Harry Jeffery
860073fbf3 Fixed LIST for weechat 2013-10-21 13:27:10 +01:00
Harry Jeffery
a62ddb6cf4 Fixed NAMES command for weechat 2013-10-21 13:25:39 +01:00
Harry Jeffery
c90f9b92ce Fixed MOTD for weechat 2013-10-21 13:21:26 +01:00
Harry Jeffery
14d4e53021 Released Version 1.1.0
Changelog:
- Added message of the day support
- Some small refactoring
2013-09-08 22:59:55 +01:00
Harry Jeffery
c46bd5aa6b Added motd command line option 2013-09-08 22:56:43 +01:00
Harry Jeffery
1b2d9c95d4 Fixed typo in error message 2013-09-08 22:50:27 +01:00
Harry Jeffery
44775cabdd Implemented static MOTD message 2013-09-08 20:35:30 +01:00
Harry Jeffery
85cbc020a3 Fixed erroneous argument shadowing 2013-09-08 16:59:56 +01:00
Harry Jeffery
10e3a6a6e3 Refactored events and event handling 2013-09-08 16:24:17 +01:00
Harry Jeffery
d569334204 Added MOTD reply type 2013-09-08 16:06:03 +01:00
Harry Jeffery
94ffe3fff2 Tweaked README.md 2013-09-02 02:04:29 +01:00
Harry Jeffery
0d91cad155 Added /VERSION command and set version to 1.0.0 2013-09-02 01:55:19 +01:00
Harry Jeffery
f4deca40ea Fixed reply capitalisation in MODE command 2013-08-31 18:45:38 +01:00
Harry Jeffery
df9ece79e3 Small tidy up in Server.handleEvent() 2013-08-31 18:44:25 +01:00
Harry Jeffery
0426b39846 Added INFO to README.md 2013-08-31 01:34:25 +01:00
Harry Jeffery
830fc8f612 Added /INFO command 2013-08-30 23:17:54 +01:00
Harry Jeffery
42c068b4bf /JOIN now sends channel name with capitalisation 2013-08-30 16:36:41 +01:00
Harry Jeffery
05743d4b4e Cleaned up the /TOPIC command slightly 2013-08-30 16:33:18 +01:00
Harry Jeffery
b245c56143 Changed order of TLS ciphers 2013-08-30 01:29:02 +01:00
Harry Jeffery
ac7fe8afee Use tls ciphers with perfect forward secrecy first 2013-08-30 01:18:20 +01:00
Harry Jeffery
c1fc0f1157 Tweaked wording of one of the design principles. 2013-08-29 23:41:29 +01:00
Harry Jeffery
7c1650b6c1 Corrected compilation instructions in README 2013-08-29 23:24:07 +01:00
Harry Jeffery
950ec1231b Added download link and compilation instructions 2013-08-29 23:07:20 +01:00
Harry Jeffery
465632ca39 Added features section to README 2013-08-29 22:40:20 +01:00
Harry Jeffery
d53f9acbd0 Added warning to README 2013-08-29 21:43:58 +01:00
Harry Jeffery
4760297287 /PART now accepts a reason from the client 2013-08-29 21:23:52 +01:00
Harry Jeffery
e0073e55fd KILL command now accepts a reason 2013-08-29 21:20:34 +01:00
Harry Jeffery
7fa58ebac1 IRC operators can always use /KICK now 2013-08-29 21:15:04 +01:00
Harry Jeffery
72a60aa55f IRC operators can use /MODE to do anything they like 2013-08-29 21:12:17 +01:00
Harry Jeffery
d8f874caef Implemented the /KICK command 2013-08-29 21:10:28 +01:00
Harry Jeffery
ee1564e65f Added error recovery to handleEvent 2013-08-29 20:55:17 +01:00
Harry Jeffery
70a13eec00 Added key field to client 2013-08-29 20:50:10 +01:00
Harry Jeffery
c8f62ae151 Improved server name protection 2013-08-29 20:46:07 +01:00
Harry Jeffery
2726802408 Removed anonymous mode, currently too finnicky. 2013-08-29 18:15:17 +01:00
Harry Jeffery
8240b650d6 Implemented secret mode for channels 2013-08-29 18:08:39 +01:00