Idź do kodu źródłowego tego pliku.
◆ anonymous enum
Wartości wyliczeń |
---|
IRC_REJOIN_KICK | |
IRC_REJOIN_CONNECT | |
◆ irc_autorejoin()
int irc_autorejoin |
( |
session_t * |
s, |
|
|
int |
when, |
|
|
char * |
chan |
|
) |
| |
irc_autorejoin()
Try to rejoin.
- Do zrobienia:
- We double check "REJOIN" if IRC_REJOIN_KICK
- Parametry
-
s | - session |
when | - type of rejoining:
- IRC_REJOIN_CONNECT When we want to rejoin to all channels we had opened for example after /reconnect
- IRC_REJOIN_KICK When we want to rejoin to given channel (chan)
|
chan | - if when == IRC_REJOIN_KICK than it specify to which channel we want to rejoin after kick. |
- Zwraca
- 0 - if we send JOIN commands to ircd...
-1 - If smth went wrong.
◆ QUERY()