]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
17 years agoMove more stuff into userrec
brain [Wed, 9 Aug 2006 19:56:08 +0000 (19:56 +0000)]
Move more stuff into userrec

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4823 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWrong version given in check it seems. Om can review this later, but now it compiles...
brain [Wed, 9 Aug 2006 19:29:13 +0000 (19:29 +0000)]
Wrong version given in check it seems. Om can review this later, but now it compiles on my system (pgsql 8.0.8) with that special feature thats only supposed to exist on 8.4.2 onwards.... :/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4822 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange some resolver stuff.
brain [Wed, 9 Aug 2006 19:25:31 +0000 (19:25 +0000)]
Change some resolver stuff.
OM, THIS STILL WONT COMPILE! Error on the same line

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4821 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agouserrec and chanrec now have their own independent pointer back to their 'creator...
brain [Wed, 9 Aug 2006 18:55:52 +0000 (18:55 +0000)]
userrec and chanrec now have their own independent pointer back to their 'creator' InspIRCd* object, extern now longer required in channels.cpp or users.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4820 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove tons more stuff into class InspIRCd
brain [Wed, 9 Aug 2006 17:52:10 +0000 (17:52 +0000)]
Move tons more stuff into class InspIRCd

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove clientlist and chanlist into InspIRCd*
brain [Wed, 9 Aug 2006 16:35:24 +0000 (16:35 +0000)]
Move clientlist and chanlist into InspIRCd*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove fd_ref_table into class InspIRCd*
brain [Wed, 9 Aug 2006 15:36:51 +0000 (15:36 +0000)]
Move fd_ref_table into class InspIRCd*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFixes for API changes
om [Wed, 9 Aug 2006 15:36:50 +0000 (15:36 +0000)]
Fixes for API changes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4816 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for when we hit PgSQL 9.x that I think actually works
om [Wed, 9 Aug 2006 15:15:28 +0000 (15:15 +0000)]
Fix for when we hit PgSQL 9.x that I think actually works

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4815 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for when we hit PgSQL 9.x
om [Wed, 9 Aug 2006 15:00:06 +0000 (15:00 +0000)]
Fix for when we hit PgSQL 9.x

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4814 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThis wont build. :(
brain [Wed, 9 Aug 2006 14:55:18 +0000 (14:55 +0000)]
This wont build. :(
m_pgsql.cpp:1125: error: cannot convert `char*' to `PGconn*' for argument `1' to `size_t PQescapeStringConn(PGconn*, char*, const char*, size_t, int*)'

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4813 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove socket_ref and module_sockets vectors/arrays into InspIRCd*. These are public...
brain [Wed, 9 Aug 2006 14:53:19 +0000 (14:53 +0000)]
Move socket_ref and module_sockets vectors/arrays into InspIRCd*. These are public members, which InspSocket can modify.
(eventually, this will be marshalled safely through some accessors). When constructing an InspSocket you must now provide
an InspIRCd* instance to 'attach' the socket to.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4812 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up loglevel enum (remove some C-ish defines)
brain [Wed, 9 Aug 2006 14:20:04 +0000 (14:20 +0000)]
Tidy up loglevel enum (remove some C-ish defines)
change ServerConfig to pass a pointer to 'this' to Validation etc functions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4811 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove do_log() prototypes
brain [Wed, 9 Aug 2006 13:55:26 +0000 (13:55 +0000)]
Remove do_log() prototypes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4810 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agodo_log -> static void InspIRCd::Log() (with vararg and std::string variants)
brain [Wed, 9 Aug 2006 13:19:41 +0000 (13:19 +0000)]
do_log -> static void InspIRCd::Log() (with vararg and std::string variants)
The #define for this still exists, but maybe should be phased out?

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4809 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoServerConfig extern moved into class InspIRCd
brain [Wed, 9 Aug 2006 11:33:10 +0000 (11:33 +0000)]
ServerConfig extern moved into class InspIRCd

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGet rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do this...
brain [Wed, 9 Aug 2006 10:37:42 +0000 (10:37 +0000)]
Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do this itself
Move:
bool ChangeDisplayedHost(const char* host);
bool ChangeName(const char* gecos);
int CountChannels();
Into userrec

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove Blocking/NonBlocking to socket.cpp and make inline
brain [Wed, 9 Aug 2006 10:12:34 +0000 (10:12 +0000)]
Move Blocking/NonBlocking to socket.cpp and make inline

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4806 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agocommon_channels -> userrec::SharesChannelWith()
brain [Wed, 9 Aug 2006 10:04:58 +0000 (10:04 +0000)]
common_channels -> userrec::SharesChannelWith()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4805 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOops, goofed up
brain [Tue, 8 Aug 2006 22:01:55 +0000 (22:01 +0000)]
Oops, goofed up

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4804 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoImprove Write functions, and change some stuff from char* to const char*
brain [Tue, 8 Aug 2006 21:58:21 +0000 (21:58 +0000)]
Improve Write functions, and change some stuff from char* to const char*

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4803 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWriteWallops() -> userrec::WriteWallops() (originates from a user, so belongs in...
brain [Tue, 8 Aug 2006 20:30:41 +0000 (20:30 +0000)]
WriteWallops() -> userrec::WriteWallops() (originates from a user, so belongs in userrec)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4802 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument new methods
brain [Tue, 8 Aug 2006 20:12:36 +0000 (20:12 +0000)]
Document new methods

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4801 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), userrec::WriteCommon...
brain [Tue, 8 Aug 2006 20:08:02 +0000 (20:08 +0000)]
WriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), userrec::WriteCommonExcept()
WriteCommon_NoFormat() and WriteCommonExcept_NoFormat() -> std::string variants

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4800 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDocument Write* methods in userrec
brain [Tue, 8 Aug 2006 19:05:31 +0000 (19:05 +0000)]
Document Write* methods in userrec

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4799 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWHEEEEE!!!!!
brain [Tue, 8 Aug 2006 18:59:13 +0000 (18:59 +0000)]
WHEEEEE!!!!!
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec.
Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above
All modules updated to use new syntax, my fingers hurt :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComment all the new stuff
brain [Tue, 8 Aug 2006 16:47:14 +0000 (16:47 +0000)]
Comment all the new stuff

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4797 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTons of comments
brain [Tue, 8 Aug 2006 16:34:24 +0000 (16:34 +0000)]
Tons of comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4796 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoMove whowas stuff into its own namespace, move more stuff into userrec
brain [Tue, 8 Aug 2006 16:07:25 +0000 (16:07 +0000)]
Move whowas stuff into its own namespace, move more stuff into userrec

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4795 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFindMatchingLocal/FindMatchingGlobal -> userrec::LocalCloneCount(), userrec::GlobalCl...
brain [Tue, 8 Aug 2006 15:51:30 +0000 (15:51 +0000)]
FindMatchingLocal/FindMatchingGlobal -> userrec::LocalCloneCount(), userrec::GlobalCloneCount()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4794 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agouserrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()
brain [Tue, 8 Aug 2006 15:38:59 +0000 (15:38 +0000)]
userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4793 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these do more...
brain [Tue, 8 Aug 2006 15:05:49 +0000 (15:05 +0000)]
AddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these do more, too)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4792 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agouserrec::AddToWhoWas() fix
brain [Tue, 8 Aug 2006 14:45:06 +0000 (14:45 +0000)]
userrec::AddToWhoWas() fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4791 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAddWhoWas(userrec) -> userrec::AddToWhoWas()
brain [Tue, 8 Aug 2006 14:40:53 +0000 (14:40 +0000)]
AddWhoWas(userrec) -> userrec::AddToWhoWas()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4790 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agokill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - this...
brain [Tue, 8 Aug 2006 14:38:24 +0000 (14:38 +0000)]
kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - this cant be a normal member as it causes the userrec to be deleted, and "delete this" is bad, mmm'k

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWriteChannel* functions and ChanExceptSender* functions are now methods of chanrec...
brain [Tue, 8 Aug 2006 14:17:35 +0000 (14:17 +0000)]
WriteChannel* functions and ChanExceptSender* functions are now methods of chanrec. They probably should be renamed too eventually.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoadd_channel -> chanrec::JoinUser()
brain [Tue, 8 Aug 2006 13:22:30 +0000 (13:22 +0000)]
add_channel -> chanrec::JoinUser()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4787 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange to chanrec::PartUser. As with KickUser and ServerKickUser, returns the number...
brain [Tue, 8 Aug 2006 12:52:24 +0000 (12:52 +0000)]
Change to chanrec::PartUser. As with KickUser and ServerKickUser, returns the number of users left, if it returns 0, delete the chanrec

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4786 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck return values
brain [Tue, 8 Aug 2006 12:24:41 +0000 (12:24 +0000)]
Check return values

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4784 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agochanrec::KickUser and chanrec::ServerKickUser return number of users left on the...
brain [Tue, 8 Aug 2006 12:22:21 +0000 (12:22 +0000)]
chanrec::KickUser and chanrec::ServerKickUser return number of users left on the channel after the kick. If either returns 0, you should delete the chanrec immediately after return:
if (!c->KickUser(mysrc, mydest, "DIE"))
    /* arse */
    delete c;

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4783 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agokick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser()
brain [Tue, 8 Aug 2006 12:20:45 +0000 (12:20 +0000)]
kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKickUser()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4782 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd checking on AddFd that was missing (it assumed, like everything else)
brain [Tue, 8 Aug 2006 09:35:06 +0000 (09:35 +0000)]
Add checking on AddFd that was missing (it assumed, like everything else)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4781 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExtra checking that the fd's we pass to SocketEngine::AddFd were added (a lot of...
brain [Tue, 8 Aug 2006 09:32:57 +0000 (09:32 +0000)]
Extra checking that the fd's we pass to SocketEngine::AddFd were added (a lot of assuming was going off, leading to total chaos if we run out of fd's etc)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4780 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoOnly local users can have angry monkeys and packs of wild dogs. These are local monke...
brain [Mon, 7 Aug 2006 22:14:34 +0000 (22:14 +0000)]
Only local users can have angry monkeys and packs of wild dogs. These are local monkeys for local people!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4778 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoNow with added ANGRY MONKEYS.
brain [Mon, 7 Aug 2006 22:09:17 +0000 (22:09 +0000)]
Now with added ANGRY MONKEYS.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4777 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange the error message, just for LeaChim <3
brain [Mon, 7 Aug 2006 21:53:09 +0000 (21:53 +0000)]
Change the error message, just for LeaChim <3

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4776 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCheck earlier on is no longer required
brain [Mon, 7 Aug 2006 21:29:46 +0000 (21:29 +0000)]
Check earlier on is no longer required

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4775 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBail if we couldn't bind any ports (when did this get broken?)
brain [Mon, 7 Aug 2006 21:25:48 +0000 (21:25 +0000)]
Bail if we couldn't bind any ports (when did this get broken?)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4774 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoPut casts back :(
brain [Mon, 7 Aug 2006 20:57:13 +0000 (20:57 +0000)]
Put casts back :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4773 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoThe segfaults on missing init_module symbol are now gone, and hopefully not coming...
brain [Mon, 7 Aug 2006 20:42:18 +0000 (20:42 +0000)]
The segfaults on missing init_module symbol are now gone, and hopefully not coming back!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4772 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange symbol back
brain [Mon, 7 Aug 2006 20:14:03 +0000 (20:14 +0000)]
Change symbol back

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4771 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded some hax :( to prevent invalid symbols. It seems that instead of returning...
brain [Mon, 7 Aug 2006 20:12:24 +0000 (20:12 +0000)]
Added some hax :( to prevent invalid symbols. It seems that instead of returning NULL, its setting a pointer to -1

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4770 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up, make a lot of char*'s const
brain [Mon, 7 Aug 2006 17:17:06 +0000 (17:17 +0000)]
Tidy up, make a lot of char*'s const

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4769 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoBetter checks for running out of disk space, inability to write to tmp dir, etc
brain [Mon, 7 Aug 2006 16:58:27 +0000 (16:58 +0000)]
Better checks for running out of disk space, inability to write to tmp dir, etc

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4768 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExtra debug all over the place, which maybe we should keep
brain [Mon, 7 Aug 2006 13:33:34 +0000 (13:33 +0000)]
Extra debug all over the place, which maybe we should keep

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4767 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUntested but compiling updates for Resolver DNS API
om [Mon, 7 Aug 2006 12:57:26 +0000 (12:57 +0000)]
Untested but compiling updates for Resolver DNS API

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4766 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGeneral cleanup of code., add support for +Q channel mode (and config tag <remove...
om [Mon, 7 Aug 2006 12:56:36 +0000 (12:56 +0000)]
General cleanup of code., add support for +Q channel mode (and config tag <remove:supportnokicks>)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4765 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange prototype of OneOfMatches
brain [Mon, 7 Aug 2006 12:00:27 +0000 (12:00 +0000)]
Change prototype of OneOfMatches

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4764 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd m_tline, tests how many users a gline, zline etc would match. Can use this before...
brain [Mon, 7 Aug 2006 11:55:40 +0000 (11:55 +0000)]
Add m_tline, tests how many users a gline, zline etc would match. Can use this before adding one if youre not sure, or youre just curious

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4763 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove dependent commands BEFORE deleting the Module*, otherwise things go tits over...
brain [Mon, 7 Aug 2006 11:53:21 +0000 (11:53 +0000)]
Remove dependent commands BEFORE deleting the Module*, otherwise things go tits over arse

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4761 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove old debug
brain [Mon, 7 Aug 2006 00:03:18 +0000 (00:03 +0000)]
Remove old debug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4760 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove trailing spaces from input in irc::ircsepstream
brain [Sun, 6 Aug 2006 23:38:58 +0000 (23:38 +0000)]
Remove trailing spaces from input in irc::ircsepstream

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4759 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoLeft nick out of the cidr/ip check in bans/join, would never match
brain [Sun, 6 Aug 2006 23:16:25 +0000 (23:16 +0000)]
Left nick out of the cidr/ip check in bans/join, would never match

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4758 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix for ipv6 build
brain [Sun, 6 Aug 2006 22:50:19 +0000 (22:50 +0000)]
Fix for ipv6 build

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4757 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoreturn statement in wrong place caused modes to be dropped
brain [Sun, 6 Aug 2006 22:27:14 +0000 (22:27 +0000)]
return statement in wrong place caused modes to be dropped

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4756 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoGive a full path to .gdbargs, should let you run the ./inspircd script from outside...
om [Sun, 6 Aug 2006 22:26:18 +0000 (22:26 +0000)]
Give a full path to .gdbargs, should let you run the ./inspircd script from outside the install dir (from this point of view, anyway

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4755 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoInstall .gdbargs with ./inspircd
om [Sun, 6 Aug 2006 22:17:37 +0000 (22:17 +0000)]
Install .gdbargs with ./inspircd

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4753 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSyntax notice on bad commandline
brain [Sun, 6 Aug 2006 22:00:08 +0000 (22:00 +0000)]
Syntax notice on bad commandline

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4752 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd -notraceback startup option, disables automatic backtrace facility so that you...
brain [Sun, 6 Aug 2006 21:55:01 +0000 (21:55 +0000)]
Add -notraceback startup option, disables automatic backtrace facility so that you can do it yourself with a coredump and gdb (auto backtrace doesnt dump cores)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4751 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove check that very rarely equates to true
brain [Sun, 6 Aug 2006 21:44:55 +0000 (21:44 +0000)]
Remove check that very rarely equates to true

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4750 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange to strrchr when looking for '/'. faster
brain [Sun, 6 Aug 2006 21:37:26 +0000 (21:37 +0000)]
Change to strrchr when looking for '/'. faster

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4749 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoTidy up comments
brain [Sun, 6 Aug 2006 21:03:41 +0000 (21:03 +0000)]
Tidy up comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4748 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoComments
brain [Sun, 6 Aug 2006 19:51:15 +0000 (19:51 +0000)]
Comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4747 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExtra comments
brain [Sun, 6 Aug 2006 19:49:32 +0000 (19:49 +0000)]
Extra comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4746 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate to reflect allowing CIDR in new places
brain [Sun, 6 Aug 2006 19:45:42 +0000 (19:45 +0000)]
Update to reflect allowing CIDR in new places

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4745 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoCIDR g/k/e lines to go with zlines
brain [Sun, 6 Aug 2006 19:43:47 +0000 (19:43 +0000)]
CIDR g/k/e lines to go with zlines

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4744 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoJust comments
brain [Sun, 6 Aug 2006 19:03:14 +0000 (19:03 +0000)]
Just comments

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4743 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow non-cidr ip's still
brain [Sun, 6 Aug 2006 18:46:32 +0000 (18:46 +0000)]
Allow non-cidr ip's still

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4742 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow CIDR channel bans to be matched
brain [Sun, 6 Aug 2006 18:38:37 +0000 (18:38 +0000)]
Allow CIDR channel bans to be matched

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4741 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate docs to indicate ident@mask/bits is allowed in <oper>
brain [Sun, 6 Aug 2006 18:35:40 +0000 (18:35 +0000)]
Update docs to indicate ident@mask/bits is allowed in <oper>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4740 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAllow nick!ident@ and ident@ portions in a CIDR mask if given, use match() without...
brain [Sun, 6 Aug 2006 18:34:39 +0000 (18:34 +0000)]
Allow nick!ident@ and ident@ portions in a CIDR mask if given, use match() without CIDR against that portion. This allows for CIDR operhosts while still matching idents (AND CIDR CHANNEL BANS)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4739 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUpdate docs to reflect where CIDR is allowed
brain [Sun, 6 Aug 2006 18:06:21 +0000 (18:06 +0000)]
Update docs to reflect where CIDR is allowed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4738 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd docs for m_httpd and m_http_stats
brain [Sun, 6 Aug 2006 17:11:50 +0000 (17:11 +0000)]
Add docs for m_httpd and m_http_stats

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4737 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd documentation of <link:allowmask>
brain [Sun, 6 Aug 2006 16:55:02 +0000 (16:55 +0000)]
Add documentation of <link:allowmask>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4736 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdd <link:allowmask>
brain [Sun, 6 Aug 2006 16:51:45 +0000 (16:51 +0000)]
Add <link:allowmask>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4735 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoClamp mask sizes to 128 for ipv6 and 32 for ipv4
brain [Sun, 6 Aug 2006 16:38:54 +0000 (16:38 +0000)]
Clamp mask sizes to 128 for ipv6 and 32 for ipv4

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4734 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExtra safety checks
brain [Sun, 6 Aug 2006 16:16:07 +0000 (16:16 +0000)]
Extra safety checks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4733 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSupport CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper, ident...
brain [Sun, 6 Aug 2006 16:09:29 +0000 (16:09 +0000)]
Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper, ident field is not supported (yet)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix CIDR functions so they work
brain [Sun, 6 Aug 2006 15:26:16 +0000 (15:26 +0000)]
Fix CIDR functions so they work

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4731 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoSimple CIDR checking routine
brain [Sun, 6 Aug 2006 15:10:40 +0000 (15:10 +0000)]
Simple CIDR checking routine

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4730 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix TS lowering, also update local variable
brain [Sun, 6 Aug 2006 14:36:24 +0000 (14:36 +0000)]
Fix TS lowering, also update local variable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4729 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoDont try and cloak remote clients
brain [Sat, 5 Aug 2006 22:32:50 +0000 (22:32 +0000)]
Dont try and cloak remote clients

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4727 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoExtra stuff for identifying ipv6 addresses
brain [Sat, 5 Aug 2006 22:30:39 +0000 (22:30 +0000)]
Extra stuff for identifying ipv6 addresses

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4726 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoUse insp_aton so we can correctly cloak ipv6
brain [Sat, 5 Aug 2006 22:27:36 +0000 (22:27 +0000)]
Use insp_aton so we can correctly cloak ipv6

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4725 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoHopefully stop compile warning which I don't get anyway
om [Sat, 5 Aug 2006 13:07:17 +0000 (13:07 +0000)]
Hopefully stop compile warning which I don't get anyway

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4724 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange a loop which uppercases the command to std::transform()
brain [Sat, 5 Aug 2006 01:30:14 +0000 (01:30 +0000)]
Change a loop which uppercases the command to std::transform()

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4723 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoFix /stats T dns totals
brain [Fri, 4 Aug 2006 21:07:35 +0000 (21:07 +0000)]
Fix /stats T dns totals

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4722 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoRemove leading : from /stats l, add /stats L
brain [Fri, 4 Aug 2006 21:00:04 +0000 (21:00 +0000)]
Remove leading : from /stats l, add /stats L

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4721 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange field name to time_open
brain [Fri, 4 Aug 2006 20:54:25 +0000 (20:54 +0000)]
Change field name to time_open

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4720 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoChange /stats l to be more usable
brain [Fri, 4 Aug 2006 20:52:51 +0000 (20:52 +0000)]
Change /stats l to be more usable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4719 e03df62e-2008-0410-955e-edbf42e46eb7