mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 16:23:13 +02:00
Renamed HOOKTYPE_LOCAL_TOPIC to HOOKTYPE_TOPIC and made it actually work.
This commit is contained in:
@@ -2872,3 +2872,4 @@ seen. gmtime warning still there
|
||||
(#0001540) reported by penna and DukePyrolator.
|
||||
- Added HOOKTYPE_UMODE_CHANGE (sptr, oldflags, newflags) - this may
|
||||
not be accurate as umode changes are done manually many places.
|
||||
- Renamed HOOKTYPE_LOCAL_TOPIC to HOOKTYPE_TOPIC and made it actually work.
|
||||
|
||||
+1
-1
@@ -514,7 +514,7 @@ int CallCmdoverride(Cmdoverride *ovr, aClient *cptr, aClient *sptr, int parc, ch
|
||||
#define HOOKTYPE_LOCAL_PART 19
|
||||
#define HOOKTYPE_LOCAL_KICK 20
|
||||
#define HOOKTYPE_LOCAL_CHANMODE 21
|
||||
#define HOOKTYPE_LOCAL_TOPIC 22
|
||||
#define HOOKTYPE_TOPIC 22
|
||||
#define HOOKTYPE_LOCAL_OPER 23
|
||||
#define HOOKTYPE_UNKUSER_QUIT 24
|
||||
#define HOOKTYPE_LOCAL_PASS 25
|
||||
|
||||
@@ -4602,6 +4602,7 @@ CMD_FUNC(m_topic)
|
||||
#else
|
||||
strncpyzt(chptr->topic_nick, tnick, nicKlen + 1);
|
||||
#endif
|
||||
RunHook4(HOOKTYPE_TOPIC, cptr, sptr, chptr, topic);
|
||||
if (ttime && IsServer(cptr))
|
||||
chptr->topic_time = ttime;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user