Bram Matthys
|
a843cec6bc
|
like I said
|
2015-07-29 17:41:14 +02:00 |
|
Bram Matthys
|
09895c67f1
|
set::stats-server is optional, however if it was missing then if an oper did '/STATS S' the ircd would crash.
|
2015-07-29 16:03:45 +02:00 |
|
Bram Matthys
|
e627d3682c
|
pass by ref instead of pass by value for chmode_str()
|
2015-07-29 16:03:25 +02:00 |
|
Bram Matthys
|
8df16d5a83
|
kill some warnings (mostly bogus)
|
2015-07-29 15:55:31 +02:00 |
|
Bram Matthys
|
2bd5345eec
|
quick fix for flood counters being reset on /REHASH. will use moddata later so we can reload ok again.
|
2015-07-29 13:13:09 +02:00 |
|
Bram Matthys
|
0bcc8494b7
|
Fix some FIXME's. Remove unused set::dns::nameserver (actually it was a fallback if /etc/resolv.conf etc failed but.. well.. not anymore!)
|
2015-07-29 13:09:26 +02:00 |
|
Bram Matthys
|
8a3d1b22f1
|
Move too broad ban checking to ban_too_broad(usermask,hostmask) function. TODO: more config shit.
|
2015-07-29 13:00:29 +02:00 |
|
Bram Matthys
|
6f34a8203d
|
Another interim commit for ipv4/ipv6 socket split. Compiles now, and client connects. Still plenty to fix..
|
2015-07-28 17:56:40 +02:00 |
|
Bram Matthys
|
3ffa547d2e
|
Remove more acptr->local->ip stuff, and fix some code from minutes ago.
|
2015-07-28 14:19:18 +02:00 |
|
Bram Matthys
|
a6a5e93524
|
We already check for 'too many unknown connections from your IP' in add_connection().
|
2015-07-28 14:15:30 +02:00 |
|
Bram Matthys
|
8e30acda41
|
More local->ip & INET6 stuff removed.
|
2015-07-28 14:14:52 +02:00 |
|
Bram Matthys
|
80147b2914
|
Make throttling code work on aClient * structs. Other code may change later (makes it easier).
|
2015-07-28 14:05:41 +02:00 |
|
Bram Matthys
|
925de764ff
|
Make auto-join code use Find_tld(). Guess this means tld::options::ssl was not working for tld-specific auto join channels.
|
2015-07-28 13:55:00 +02:00 |
|
Bram Matthys
|
a049ef22e4
|
remove unused code due to previous changes
|
2015-07-28 13:52:17 +02:00 |
|
Bram Matthys
|
a444964730
|
Convert TLD code to use match_user(): MOTD OPERMOTD BOTMOTD RULES etc..
|
2015-07-28 13:50:47 +02:00 |
|
Bram Matthys
|
58b864edd5
|
Re-do CIDR and at the same time all the user matching stuff. Introducing match_user(mask, acptr, options): this should be used everywhere rather than the many DIY routines everywhere that create a nick!user@host and then run a match() on it.
The match_user() function is not been fully tested yet, at this point I'm happy we can compile again.
|
2015-07-28 13:26:03 +02:00 |
|
Bram Matthys
|
5bfa5c701e
|
Never understood why it's called get_sockhost() if it actually sets it. Renamed to set_sockhost()
|
2015-07-27 18:30:25 +02:00 |
|
Bram Matthys
|
a613a29b02
|
Ensure people don't run 'make' from the wrong directory. Reported by hyperi0n.
|
2015-07-26 14:14:39 +02:00 |
|
Bram Matthys
|
33f1322def
|
Whoops. Back out m_user cleanup from an hour ago. We call m_user() at a few places (ugly ugly). Will take a look at this again another time I guess..
|
2015-07-25 20:41:59 +02:00 |
|
Bram Matthys
|
40354d0459
|
Hmmm. This doesn't work. Look at it again later, I like the warning, just want the option to ignore it.
|
2015-07-25 20:38:52 +02:00 |
|
Bram Matthys
|
2a53499610
|
Get rid of useless DLLFUNC prefixes (at places where they were not needed)
|
2015-07-25 20:23:37 +02:00 |
|
Bram Matthys
|
fd375ee284
|
Use CMD_FUNC() everywhere
|
2015-07-25 20:22:44 +02:00 |
|
Bram Matthys
|
c480ee5b91
|
fix silly warning. was safe, parv[1] can never exceed BUFSIZE (512), duh.
|
2015-07-25 19:12:29 +02:00 |
|
Bram Matthys
|
b1a1c51f4e
|
wow.. that's a lot of lines to do something simple @ m_vhost :D
|
2015-07-25 19:10:48 +02:00 |
|
Bram Matthys
|
4573a61518
|
cleanup m_vhost
|
2015-07-25 19:08:19 +02:00 |
|
Bram Matthys
|
83a2caea3e
|
cleanup m_user. Remove very old code to deal with remote USER messages from servers
|
2015-07-25 19:02:42 +02:00 |
|
Bram Matthys
|
652795f2c0
|
Fix a bug in spamfilter TKL syncing with non-TKLEXT servers (non-unrealircd's).
|
2015-07-25 18:49:28 +02:00 |
|
Bram Matthys
|
e1160a0260
|
Check FLUSH_BUFFER.
|
2015-07-25 18:36:47 +02:00 |
|
Bram Matthys
|
9a336fa53b
|
cleanup
|
2015-07-25 18:36:23 +02:00 |
|
Bram Matthys
|
ec504a2e49
|
parc wasn't decreased in a mode cutoff routine.
|
2015-07-25 18:29:31 +02:00 |
|
Bram Matthys
|
fd3057a462
|
goto deny; continue; hmmmmm
|
2015-07-25 18:25:41 +02:00 |
|
Bram Matthys
|
13390250ec
|
more of the same
|
2015-07-25 18:24:13 +02:00 |
|
Bram Matthys
|
4f8be613b9
|
cleanup & re-indent m_invite & remove old checks/ifdef's
|
2015-07-25 18:22:10 +02:00 |
|
Bram Matthys
|
55af9ec0a9
|
don't +b if banlist is full @ chanmode +f textflood kickban
|
2015-07-25 18:09:52 +02:00 |
|
Bram Matthys
|
5fce302336
|
1) Make firsttime ("online since") the real online since (fixes #2174), 2) Reset fakelag when user comes online.
|
2015-07-23 22:19:28 +02:00 |
|
Bram Matthys
|
ac6fa87e2e
|
Fix (likely) crash if using set::options::flat-map because it was missing an argument to the fmt string.
|
2015-07-23 14:00:42 +02:00 |
|
Bram Matthys
|
6347b0ca95
|
Channel mode +O had the join check reversed (rejecting ircops, allowing regular users)
|
2015-07-22 08:51:41 +02:00 |
|
Bram Matthys
|
a8ff8ea18d
|
Rewrite all nick collision code. Use separate function. Use UID for KILL when available. Also use UID for nick changes.
|
2015-07-20 17:28:26 +02:00 |
|
Bram Matthys
|
c478d7d9ef
|
Move some stuff to introduce_user() so we can use it.
|
2015-07-20 16:42:36 +02:00 |
|
Bram Matthys
|
87c0bbed3c
|
Send nick collision kill with a winner to the losing side only. Trust the NICK is in-flight to that server and that it will kill his own and assign ours the winner. This fixes a bug until now where it was killing the wrong user (reproduced locally) and prevents re-introducing of our client which we will never do correctly. (#1977). If you can present a legit case where this is wrong, let me know.
|
2015-07-19 19:47:41 +02:00 |
|
Bram Matthys
|
8b039335d6
|
set cptr->sockhost for incoming server connections too so you can use hostnames in link::options::incoming, if you wish..
|
2015-07-19 19:08:54 +02:00 |
|
Bram Matthys
|
390a4c2494
|
Remove "PROTOCTL HCN" as we now include the IP in HCN-alike connecting messages.
|
2015-07-19 18:20:40 +02:00 |
|
Bram Matthys
|
c425952cd6
|
Textual changes
|
2015-07-19 17:42:05 +02:00 |
|
Bram Matthys
|
b4f3a39af0
|
Fix SupportNAMESX() on remote client
|
2015-07-19 17:23:51 +02:00 |
|
Bram Matthys
|
9baffb1b30
|
done with ip move.
|
2015-07-19 13:20:56 +02:00 |
|
Bram Matthys
|
173b643412
|
iwantthisgone
|
2015-07-19 13:19:06 +02:00 |
|
Bram Matthys
|
6379956521
|
strip 2 useless args from sendto_connect & sendto_fconnect (maybe useful in the past, not anymore)
|
2015-07-19 13:14:37 +02:00 |
|
Bram Matthys
|
209a5a3762
|
Start with moving ip_str stuff
|
2015-07-19 13:09:51 +02:00 |
|
Bram Matthys
|
13fffa4e1a
|
split all the local client stuff to acptr->local. makes it a lot easier to catch bugs.
If the IRCd crashes then it's likely not by this change but rather an existing issue that was previously gone unnoticed.
|
2015-07-19 12:48:18 +02:00 |
|
Bram Matthys
|
421b224d8e
|
Fix SSL client certificate fingerprint authentication not working for server linking. Broken since May 23 already.
|
2015-07-18 22:05:22 +02:00 |
|