mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
9ad0ad77d7
As a consequence of this the last parameter you get in your hook is now 'oldnick' rather than 'newnick'. So the new nick is in sptr->name now and oldnick in last parameter. - Added HOOKTYPE_PRE_CHANMSG, this should now be used for blocking/morphing text. It has the parameters: sptr, chptr, text, notice - HOOKTYPE_CHANMSG now no longer allows one to block the text (use HOOKTYPE_PRE_CHANMSG for that). It's also moved to after the message was actually sent. - Added HOOKTYPE_KNOCK (sptr, chptr) - Added HOOKTYPE_MODECHAR_FIXME. Internal for now, will be replaced with a proper HOOKTYPE_MODECHAR later (and arguments will change). It's just an internal hack for chmode +f for now ;). - Updated indent.pro to use length=110. It still does not indent how I want it to be though, so don't use it yet ;). - Moved channel mode +f to src/modules/chanmodes/chmode_f.c, interestingly enough this took longer than recoding extcmodes paramter support and moving chan mode +j. It's not only looking like a complex channel mode, it actually *IS* one ;). TODO: make sure it actually works, and fix sjoining (partly not implemented yet->crash) ;p
53 lines
795 B
Prolog
53 lines
795 B
Prolog
--leave-preprocessor-space
|
|
--dont-break-procedure-type
|
|
--no-space-after-function-call-names
|
|
--brace-indent0
|
|
--indent-level8
|
|
-ip8
|
|
--dont-line-up-parentheses
|
|
--continuation-indentation4
|
|
--case-indentation2
|
|
--no-space-after-casts
|
|
--blank-lines-after-procedures
|
|
--no-blank-lines-after-declarations
|
|
--braces-on-struct-decl-line
|
|
--paren-indentation0
|
|
--case-brace-indentation0
|
|
--line-length110
|
|
--declaration-indentation5
|
|
-T size_t
|
|
-T aClass
|
|
-T TS
|
|
-T aClient
|
|
-T aServer
|
|
-T anUser
|
|
-T aChannel
|
|
-T Mode
|
|
-T aConfItem
|
|
-T aMessage
|
|
-T aMessageTree
|
|
-T aGline
|
|
-T aListingArgs
|
|
-T snomask_t
|
|
-T n_short
|
|
-T n_long
|
|
-T n_time
|
|
-T u_char
|
|
-T u_short
|
|
-T u_long
|
|
-T u_int
|
|
-T dbuf
|
|
-T dbufbuf
|
|
-T aHashEntry
|
|
-T Link
|
|
-T Dlink
|
|
-T VOIDSIG
|
|
-T aHostent
|
|
-T ResRQ
|
|
-T aCache
|
|
-T CacheTable
|
|
-T cainfo
|
|
-T reinfo
|
|
-T RETSIGTYPE
|
|
-T OPT_TYPE
|