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 |
|
Bram Matthys
|
0fb82352af
|
improve style (no bug)
|
2015-07-16 21:32:41 +02:00 |
|
Bram Matthys
|
24f3644ecf
|
getting rid of more useless casts
|
2015-07-16 21:31:02 +02:00 |
|
Bram Matthys
|
88aa91eb94
|
rather than copying the string result, why not work on the buffer directly..
|
2015-07-16 21:01:27 +02:00 |
|
Bram Matthys
|
252538272e
|
Reduce nick@server complexity in m_message and (similarly) make hash_find_nickserver() easier and more tolerant, also accepts just 'nick' in addition to 'nick@server'
|
2015-07-16 18:09:26 +02:00 |
|
Bram Matthys
|
083ca38554
|
:D
|
2015-07-16 17:36:48 +02:00 |
|
Bram Matthys
|
dd3993008c
|
small unlikely memleaks. and cptr->port being set to a random value (caused few weeks ago).. but we don't ever read it so not terribly important.
|
2015-07-16 17:13:57 +02:00 |
|
Bram Matthys
|
6ee1773fbe
|
Not sure if this will ever happen as there's a lot of code called beforehand, but ah well.. (memleak).
|
2015-07-16 16:32:43 +02:00 |
|
Bram Matthys
|
b33a461e9a
|
re-indent
|
2015-07-16 16:28:14 +02:00 |
|
Bram Matthys
|
f715ee37cc
|
uninitialized read (won't actually happen as other routines check before this)
|
2015-07-16 16:27:53 +02:00 |
|
Bram Matthys
|
c6488bb50a
|
Why would anyone want to know this.. got enough on-connect msgs already.
|
2015-07-16 10:57:55 +02:00 |
|
Bram Matthys
|
dcb0c63bd8
|
Spamfilter 'u' was broken by nenolod. Literally. snprintf(buf, sizeof(buf), .. where 'buf' is a 'char *'. Fantastic.
|
2015-07-15 18:34:25 +02:00 |
|
Bram Matthys
|
f22cef97d4
|
Why do we have those unnecessary (SSL *) casts everywhere? Poof. Gone.
|
2015-07-15 15:54:36 +02:00 |
|
Bram Matthys
|
1978077c79
|
Use SENDSNO sender in server notices and not me.name, to avoid confusion.
|
2015-07-14 14:46:58 +02:00 |
|
Bram Matthys
|
e9cc914449
|
Cleanup
|
2015-07-14 12:54:26 +02:00 |
|
Bram Matthys
|
2e7ad2f9f7
|
If you write things this way then it's easy to miss a parv[0] fetch..
|
2015-07-14 12:48:35 +02:00 |
|
Bram Matthys
|
9bcaac6ac6
|
oper modes were not broadcasted (bug caused <1wk ago I think), SETHOST may be sent over the wire before the +o so change permission check (caused 1-2d ago).
|
2015-07-13 10:21:18 +02:00 |
|
Bram Matthys
|
ec2a04c7a1
|
Fix OOB read ('i')
|
2015-07-12 21:03:40 +02:00 |
|