119 |
} |
} |
120 |
|
|
121 |
newts = strtoumax(parv[1], NULL, 10); |
newts = strtoumax(parv[1], NULL, 10); |
122 |
oldts = chptr->creationtime; |
oldts = chptr->creation_time; |
123 |
oldmode = &chptr->mode; |
oldmode = &chptr->mode; |
124 |
|
|
125 |
if (newts == 0 && isnew == false && oldts) |
if (newts == 0 && isnew == false && oldts) |
133 |
} |
} |
134 |
|
|
135 |
if (isnew == true) |
if (isnew == true) |
136 |
chptr->creationtime = newts; |
chptr->creation_time = newts; |
137 |
else if (newts == 0 || oldts == 0) |
else if (newts == 0 || oldts == 0) |
138 |
chptr->creationtime = 0; |
chptr->creation_time = 0; |
139 |
else if (newts == oldts) |
else if (newts == oldts) |
140 |
; |
; |
141 |
else if (newts < oldts) |
else if (newts < oldts) |
142 |
{ |
{ |
143 |
keep_our_modes = false; |
keep_our_modes = false; |
144 |
chptr->creationtime = newts; |
chptr->creation_time = newts; |
145 |
} |
} |
146 |
else |
else |
147 |
keep_new_modes = false; |
keep_new_modes = false; |
210 |
} |
} |
211 |
|
|
212 |
sendto_server(source_p, 0, 0, ":%s JOIN %ju %s +", |
sendto_server(source_p, 0, 0, ":%s JOIN %ju %s +", |
213 |
source_p->id, chptr->creationtime, chptr->name); |
source_p->id, chptr->creation_time, chptr->name); |
214 |
return 0; |
return 0; |
215 |
} |
} |
216 |
|
|