NOTE_VIS_PRIVILEGED
};
-struct io_fd *socket_io_fd;
+extern struct io_fd *socket_io_fd;
extern struct cManagerNode cManager;
struct note_type
char ballcolors[50][50] = {
"blue", "red", "green", "yellow",
"white", "black", "grey", "brown",
- "yellow", "pink", "purple", "orange", "teal", "burgandy",
+ "yellow", "pink", "purple", "orange", "teal", "burgundy",
"fuchsia","turquoise","magenta", "cyan"};
#define NUMOFLOCATIONS 50
char balllocations[50][55] = {
/*** COLOR *****/
if((word2) && strcasecmp(word1, "what") == 0 && ((strcasecmp(word2, "color") == 0) || (strcasecmp(word2, "colour") == 0)))
eightball(eb, 1, accum);
- else if((word3) && strcasecmp(word1, "what's") == 0 && strcasecmp(word2, "the") == 0 && ((strcasecmp(word2, "color") == 0) || (strcasecmp(word2, "colour") == 0)))
+ else if((word3) && strcasecmp(word1, "what's") == 0 && strcasecmp(word2, "the") == 0 && ((strcasecmp(word3, "color") == 0) || (strcasecmp(word3, "colour") == 0)))
eightball(eb, 1, accum);
- else if((word3) && strcasecmp(word1, "whats") == 0 && strcasecmp(word2, "the") == 0 && ((strcasecmp(word2, "color") == 0) || (strcasecmp(word2, "colour") == 0)))
+ else if((word3) && strcasecmp(word1, "whats") == 0 && strcasecmp(word2, "the") == 0 && ((strcasecmp(word3, "color") == 0) || (strcasecmp(word3, "colour") == 0)))
eightball(eb, 1, accum);
/*** LOCATION *****/
else if(