danieldg
ca749a589a
Add irc::sockets::satouser for user-readable IP/port pairs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11627 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:48:16 +00:00
danieldg
a1f48c0d46
Allow voice or higher users to speak even when a matching muteban exists
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11626 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:48:09 +00:00
danieldg
8eeb07be8c
Route whois notices using ENCAP WHOISNOTICE to properly fix remote user PrivPermission bug
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11625 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:48:02 +00:00
danieldg
77ead8fe33
Remove empty permanent channels when m_permchannels is unloaded
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11624 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:54 +00:00
danieldg
94bb5343b1
Remove calls to strdup() in core, it is not better than std::string
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11623 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:45 +00:00
danieldg
2455cd671f
Remove strnewdup(), it is a good source of possible memory leaks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11622 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:36 +00:00
danieldg
771016b997
More deallocation-at-exit cleanup
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11621 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:29 +00:00
danieldg
8085aa879b
Make VF_OPTCOMMON module mismatches a fatal link error by default
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11620 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:22 +00:00
danieldg
e07a1a5ffa
Add VF_OPTCOMMON for optionally common modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11619 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:14 +00:00
danieldg
54ebc7b84d
Misc removal of pointless Extend strings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11618 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:47:05 +00:00
danieldg
09b802d5e9
ThreadWindows: Remove ThreadSignalListener and connect the socket right away
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11617 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:58 +00:00
danieldg
6ba640bd53
Valgrind cleanup: fix segfault on exit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11616 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:51 +00:00
danieldg
68e47f5ec2
Valgrind cleanup: finish destructor creation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11615 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:44 +00:00
danieldg
ae6acab1ba
Valgrind cleanup: deallocate RFC modes, clientlist, and uuidlist
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11614 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:36 +00:00
danieldg
1ea2fca767
Valgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core commands
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11613 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:29 +00:00
danieldg
e581679d1f
Fix valgrind uninitialised memory error
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11612 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:21 +00:00
danieldg
b31f343eac
Remove unneeded Extensible inheritance and remove "age" field from classbase
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:11 +00:00
danieldg
a97624bd4b
Remove misleading byte counts from stats z
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11610 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:46:03 +00:00
danieldg
f63fee17a9
Include untranslated user/channel metadata in CHECK output
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11609 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:55 +00:00
danieldg
7c340cba11
Remove useless vector copy
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11608 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:49 +00:00
danieldg
f25c4b7a22
MetaData rework
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:37 +00:00
danieldg
6e85701ecb
Remove a few unneeded string copies in the PRIVMSG path
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11606 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:29 +00:00
danieldg
8c149db461
Strong typing for stacked module results
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11605 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:22 +00:00
danieldg
cfa482e186
Add User::DoHostCycle
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11604 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:16 +00:00
danieldg
af6e4d13ee
Update NICKLOCK to route using unicast
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11603 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:45:08 +00:00
danieldg
b5e2200087
Allow commands to optionally route themselves using ENCAP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11602 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:59 +00:00
danieldg
8cebe2878f
Include explicit routing information in Command, will replace CMD_LOCALONLY return value
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11601 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:50 +00:00
danieldg
5d67a5fff1
Remove unneeded ProtocolInterface::Introduce
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11600 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:40 +00:00
danieldg
a02ed18a1a
Remove unused I_ProtoSendMetaData, I_ProtoSendMode fields of Implementation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11599 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:32 +00:00
danieldg
e27f338073
Replace FOREACH_RESULT_MAP with a more readable and flexible do_each_hook/while_each_hook macro pair
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11598 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:24 +00:00
danieldg
5abd3b1cc5
Add "created" parameter to OnUserJoin, to avoid explicit checks for +P
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11597 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:15 +00:00
danieldg
fbe8169b82
Use CheckTimeStamp to merge modes on netburst
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11596 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:44:06 +00:00
danieldg
deb6822302
Cast rework: use C++ style static_cast<> instead of C-style casts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:43:56 +00:00
danieldg
e35dd5cbb8
Rework mode parser into slightly smaller chunks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11594 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:43:41 +00:00
danieldg
219993bc90
Replace std::deque with std::vector in spanningtree and related modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11593 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:43:25 +00:00
danieldg
2630a87bb1
Change allocation of commands/modes
...
API change: Commands passed to AddCommand are no longer deleted automatically
This removes lots of needless heap allocation and fixes a few memory leaks by
allocating commands and modes as part of the Module rather than creating them
separately in the module constructor.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:43:04 +00:00
danieldg
de87dec941
Clean up challenge generation to not include character 0x7F, and fix some other things in the file
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11591 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:42:57 +00:00
danieldg
1b213e678b
Verify modules providing routed commands are VF_COMMON
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11590 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:42:50 +00:00
danieldg
da1010f407
Read multiple GnuTLS records in one RawSocketRead operation
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11589 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:42:42 +00:00
brain
9a09770a54
Put back missing semicolon
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11588 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 00:27:22 +00:00
danieldg
eb910456e2
Move file inclusion logic into calcdep, and complain about ambiguous #include directives there
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11587 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 22:44:44 +00:00
danieldg
db6308f630
Clarify FreeBSD 4 message a bit more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11586 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 22:44:37 +00:00
danieldg
16b8e22615
Use a bool return type for boolean return
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11585 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:30 +00:00
danieldg
f3515fa3a4
Make the FreeBSD 4 message useful
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11584 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:23 +00:00
danieldg
b04195317a
Use sa_size() rather than sizeof() when passing input parameters to a syscall
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11583 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:16 +00:00
danieldg
248a14477c
Remove unneeded #ifdef IPV6 lines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11582 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:09 +00:00
danieldg
5ad936b13f
Remove unneeded paramaters from OnAcceptReady
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11581 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:08:00 +00:00
danieldg
b47228902d
Move IP<->sockaddr conversions into irc::sockets:: namespace
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11580 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:07:52 +00:00
danieldg
77d5c9f765
Remove now-unused insp_sockaddr and insp_inaddr types
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11579 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:07:45 +00:00
danieldg
7a672d42e4
Remove more text<->binary IP conversions, making code more IPv4/IPv6 independent
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11578 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:07:36 +00:00