ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_party.C
(Generate patch)

Comparing deliantra/server/server/c_party.C (file contents):
Revision 1.29 by root, Mon Oct 12 14:00:59 2009 UTC vs.
Revision 1.30 by root, Thu Oct 15 06:30:29 2009 UTC

165} 165}
166 166
167int 167int
168command_gsay (object *op, char *params) 168command_gsay (object *op, char *params)
169{ 169{
170 char party_params[MAX_BUF];
171
172 if (!params) 170 if (!params)
173 return 0; 171 return 0;
174 172
175 strcpy (party_params, "say "); 173 command_party (op, (char *)format ("say %s", params));
176 strcat (party_params, params); 174
177 command_party (op, party_params);
178 return 0; 175 return 0;
179} 176}
180 177
181int 178int
182command_party (object *op, char *params) 179command_party (object *op, char *params)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines