Commit graph

21 commits

Author SHA1 Message Date
jesopo
2dfc55fb9f refactor permissions and allow hostmasks to be assigned to accounts 2019-11-21 15:49:08 +00:00
jesopo
51c914ebae get account id (not just account name) from WHOX
closes #116
2019-10-20 18:27:06 +01:00
jesopo
47d38c7d18 refactor all checks for channel_type to server.is_channel() 2019-09-20 14:52:41 +01:00
jesopo
f9d5271762 "paramatered" -> "parametered" 2019-07-04 17:23:36 +01:00
jesopo
689f977467 treat 437 the same as 433 (nickname already in use) 2019-07-04 10:44:52 +01:00
jesopo
76ab7935a0 return parsed modes from IRCChannel.parse_modes, pass through mode events 2019-07-03 08:13:28 +01:00
jesopo
5028eb02d5 .send_raw() should be used if we're not .send()ing a ParsedLine 2019-06-23 11:22:47 +01:00
jesopo
7174e83f14 Change raw.send and raw.receive commands to just pass around ParsedLines 2019-06-22 12:17:45 +01:00
jesopo
795f6afbeb Mode mode (and mode arg) parsing to IRCChannel.py, add IRCChannel.mode_str 2019-06-13 11:53:47 +01:00
jesopo
d4ba98307f We should look at ISUPPORT's STATUSMSG token instead of PREFIX 2019-06-08 10:59:52 +01:00
jesopo
5299f816af assign local var "modes" 2019-06-06 11:22:45 +01:00
jesopo
4c6a398f53 Ask for our own modes when we get a 001 2019-06-06 11:16:47 +01:00
jesopo
ef221f4165 v1.8.0 release 2019-06-03 13:30:39 +01:00
jesopo
dc284bab4a Only enable write throttling when _write_buffer is empty
closes #59
2019-05-31 15:49:34 +01:00
jesopo
b8f778d7bd Only try to send QUITs on ctrl+c when we're connected - sys.exit otherwise 2019-05-29 16:11:47 +01:00
jesopo
bdd161256d has_capability -> has_capability_str, add new has_capability 2019-05-20 16:33:32 +01:00
jesopo
7547eee96d Catch server version string, from RPL_MYINFO 2019-05-15 17:12:21 +01:00
jesopo
9e98754188 Treat our own user as a regular user throughout line_handler 2019-03-05 11:20:32 +00:00
jesopo
2affba99ca Minor refactors across line_handler 2019-03-03 22:46:24 +00:00
jesopo
7a3db82300 Add IRCServer.has_capability and use it throughout line_handler 2019-03-03 22:38:34 +00:00
jesopo
47c2cbb0fa Split line_handler.py out in to different files for different categories 2019-02-22 11:23:36 +00:00