Repository
http://toxygen.net/svn/ekg2/trunk
/trunk
by
gim
on
2008-08-11 11:52
(about 1 year ago)
instead of calculating longest_nick_len move it to channel_t struct
because of this we can add nice padding to messages on channel.
This is actually default behaviour, this can cause some
problems if you have SHOW_NICKMODE_EMPTY set to 0.
padding is available as a %7th argument and you can use it in
following formattes:
irc_msg_sent_chan, irc_msg_sent_chanh, irc_msg_f_chan_n, irc_msg_f_chan_nh
for example:
irc_msg_f_chan_n = "%7<%2%3> %6"
will cause to put padding before nick (so nickanames of all messages
will be right-aligned) while:
irc_msg_f_chan_n = "<%2%3>%7 %6"
will the nickname to be padded from right side.
| Language | Code Added | Code Removed | Comments Added | Comments Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| C | 98 | 42 | 34 | 3 | 14 | 0 |