| 23 |
|
*/ |
| 24 |
|
|
| 25 |
|
#include "stdinc.h" |
| 26 |
< |
#include "tools.h" |
| 26 |
> |
#include "list.h" |
| 27 |
|
#include "handlers.h" |
| 28 |
|
#include "channel.h" |
| 29 |
|
#include "channel_mode.h" |
| 40 |
|
#include "parse.h" |
| 41 |
|
#include "modules.h" |
| 42 |
|
#include "packet.h" |
| 43 |
– |
#include "common.h" |
| 43 |
|
|
| 44 |
|
static void m_topic(struct Client *, struct Client *, int, char *[]); |
| 45 |
|
|
| 48 |
|
{m_unregistered, m_topic, m_topic, m_ignore, m_topic, m_ignore} |
| 49 |
|
}; |
| 50 |
|
|
| 52 |
– |
#ifndef STATIC_MODULES |
| 51 |
|
void |
| 52 |
|
_modinit(void) |
| 53 |
|
{ |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
const char *_version = "$Revision$"; |
| 66 |
– |
#endif |
| 64 |
|
|
| 65 |
|
/* m_topic() |
| 66 |
|
* parv[0] = sender prefix |
| 131 |
|
":%s TOPIC %s :%s", |
| 132 |
|
source_p->name, chptr->chname, |
| 133 |
|
chptr->topic == NULL ? "" : chptr->topic); |
| 134 |
< |
sendto_channel_local(ALL_MEMBERS, NO, |
| 134 |
> |
sendto_channel_local(ALL_MEMBERS, 0, |
| 135 |
|
chptr, ":%s!%s@%s TOPIC %s :%s", |
| 136 |
|
source_p->name, |
| 137 |
|
source_p->username, |