fix spelling typo (s/propegate/propagate/g)
This commit is contained in:
parent
6a55b37bd9
commit
26005c6f48
|
@ -310,9 +310,9 @@ extern void user_join(struct Client * client_p, struct Client * source_p, const
|
|||
extern void do_join_0(struct Client *client_p, struct Client *source_p);
|
||||
extern int check_channel_name_loc(struct Client *source_p, const char *name);
|
||||
|
||||
extern struct Metadata *channel_metadata_add(struct Channel *target, const char *name, const char *value, int propegate);
|
||||
extern struct Metadata *channel_metadata_add(struct Channel *target, const char *name, const char *value, int propagate);
|
||||
extern struct Metadata *channel_metadata_time_add(struct Channel *target, const char *name, time_t timevalue, const char *value);
|
||||
extern void channel_metadata_delete(struct Channel *target, const char *name, int propegate);
|
||||
extern void channel_metadata_delete(struct Channel *target, const char *name, int propagate);
|
||||
extern struct Metadata *channel_metadata_find(struct Channel *target, const char *name);
|
||||
extern void channel_metadata_clear(struct Channel *target);
|
||||
|
||||
|
|
|
@ -616,8 +616,8 @@ extern char *generate_uid(void);
|
|||
void allocate_away(struct Client *);
|
||||
void free_away(struct Client *);
|
||||
|
||||
extern struct Metadata *user_metadata_add(struct Client *target, const char *name, const char *value, int propegate);
|
||||
extern void user_metadata_delete(struct Client *target, const char *name, int propegate);
|
||||
extern struct Metadata *user_metadata_add(struct Client *target, const char *name, const char *value, int propagate);
|
||||
extern void user_metadata_delete(struct Client *target, const char *name, int propagate);
|
||||
extern struct Metadata *user_metadata_find(struct Client *target, const char *name);
|
||||
extern void user_metadata_clear(struct Client *target);
|
||||
|
||||
|
|
|
@ -2084,13 +2084,13 @@ void user_join(struct Client * client_p, struct Client * source_p, const char *
|
|||
* inputs - pointer to channel struct
|
||||
* - name of metadata item you wish to add
|
||||
* - value of metadata item
|
||||
* - 1 if metadata should be propegated, 0 if not
|
||||
* - 1 if metadata should be propagated, 0 if not
|
||||
* output - none
|
||||
* side effects - metadata is added to the channel in question
|
||||
* - metadata is propegated if propegate is set.
|
||||
* - metadata is propagated if propagate is set.
|
||||
*/
|
||||
struct Metadata *
|
||||
channel_metadata_add(struct Channel *target, const char *name, const char *value, int propegate)
|
||||
channel_metadata_add(struct Channel *target, const char *name, const char *value, int propagate)
|
||||
{
|
||||
struct Metadata *md;
|
||||
|
||||
|
@ -2100,7 +2100,7 @@ channel_metadata_add(struct Channel *target, const char *name, const char *value
|
|||
|
||||
irc_dictionary_add(target->metadata, md->name, md);
|
||||
|
||||
if(propegate)
|
||||
if(propagate)
|
||||
sendto_match_servs(&me, "*", CAP_ENCAP, NOCAPS, "ENCAP * METADATA SET %s %s :%s",
|
||||
target->chname, name, value);
|
||||
|
||||
|
@ -2139,10 +2139,10 @@ channel_metadata_time_add(struct Channel *target, const char *name, time_t timev
|
|||
* - name of metadata item you wish to delete
|
||||
* output - none
|
||||
* side effects - metadata is deleted from the channel in question
|
||||
* - deletion is propegated if propegate is set
|
||||
* - deletion is propagated if propagate is set
|
||||
*/
|
||||
void
|
||||
channel_metadata_delete(struct Channel *target, const char *name, int propegate)
|
||||
channel_metadata_delete(struct Channel *target, const char *name, int propagate)
|
||||
{
|
||||
struct Metadata *md = channel_metadata_find(target, name);
|
||||
|
||||
|
@ -2153,7 +2153,7 @@ channel_metadata_delete(struct Channel *target, const char *name, int propegate)
|
|||
|
||||
rb_free(md);
|
||||
|
||||
if(propegate)
|
||||
if(propagate)
|
||||
sendto_match_servs(&me, "*", CAP_ENCAP, NOCAPS, "ENCAP * METADATA CLEAR %s %s",
|
||||
target->chname, name);
|
||||
}
|
||||
|
|
14
src/client.c
14
src/client.c
|
@ -1938,13 +1938,13 @@ error_exit_client(struct Client *client_p, int error)
|
|||
* inputs - pointer to client struct
|
||||
* - name of metadata item you wish to add
|
||||
* - value of metadata item
|
||||
* - 1 if metadata should be propegated, 0 if not
|
||||
* - 1 if metadata should be propagated, 0 if not
|
||||
* output - none
|
||||
* side effects - metadata is added to the user in question
|
||||
* - metadata is propegated if propegate is set.
|
||||
* - metadata is propagated if propagate is set.
|
||||
*/
|
||||
struct Metadata *
|
||||
user_metadata_add(struct Client *target, const char *name, const char *value, int propegate)
|
||||
user_metadata_add(struct Client *target, const char *name, const char *value, int propagate)
|
||||
{
|
||||
struct Metadata *md;
|
||||
|
||||
|
@ -1954,7 +1954,7 @@ user_metadata_add(struct Client *target, const char *name, const char *value, in
|
|||
|
||||
irc_dictionary_add(target->user->metadata, md->name, md);
|
||||
|
||||
if(propegate)
|
||||
if(propagate)
|
||||
sendto_match_servs(&me, "*", CAP_ENCAP, NOCAPS, "ENCAP * METADATA SET %s %s :%s",
|
||||
target->id, name, value);
|
||||
|
||||
|
@ -1968,10 +1968,10 @@ user_metadata_add(struct Client *target, const char *name, const char *value, in
|
|||
* - name of metadata item you wish to delete
|
||||
* output - none
|
||||
* side effects - metadata is deleted from the user in question
|
||||
* - deletion is propegated if propegate is set
|
||||
* - deletion is propagated if propagate is set
|
||||
*/
|
||||
void
|
||||
user_metadata_delete(struct Client *target, const char *name, int propegate)
|
||||
user_metadata_delete(struct Client *target, const char *name, int propagate)
|
||||
{
|
||||
struct Metadata *md = user_metadata_find(target, name);
|
||||
|
||||
|
@ -1982,7 +1982,7 @@ user_metadata_delete(struct Client *target, const char *name, int propegate)
|
|||
|
||||
rb_free(md);
|
||||
|
||||
if(propegate)
|
||||
if(propagate)
|
||||
sendto_match_servs(&me, "*", CAP_ENCAP, NOCAPS, "ENCAP * METADATA CLEAR %s %s",
|
||||
target->id, name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue