Skip to content

Commit

Permalink
Source Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
M-griffin committed Jun 10, 2017
1 parent 7da63ee commit dc67017
Show file tree
Hide file tree
Showing 39 changed files with 523 additions and 5,435 deletions.
1 change: 0 additions & 1 deletion src/configbbs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ void checkcfg(std::string cfgdata)
if (temp[0] == '#') return;

// Sets if LOGGING is on / off
id1 = 0;
id1 = temp.find("Set SYSOP_NAME", 0);
if (id1 != std::string::npos) {
std::string temp1;
Expand Down
2 changes: 1 addition & 1 deletion src/conio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ void ConsoleIO::node_message(int display)

if (toupper(c) == 'Q' || c == 27) {
return;
} else if (c == 10 || c == '\n') {
} else if (c == '\n') {
continue;
}

Expand Down
22 changes: 6 additions & 16 deletions src/mb_jam.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2004-2014 by Michael Griffin *
* Copyright (C) 2004-2017 by Michael Griffin *
* mrmisticismo@hotmail.com *
* *
* Purpose: *
Expand All @@ -12,12 +12,6 @@
* (at your option) any later version. *
***************************************************************************/

// Enthral SVN: $Id: mb_jam.h 1 2014-03-29 07:30:21Z mercyful $
// Source: $HeadURL: file:///home/merc/repo/enthral/trunk/src/mb_jam.h $
// $LastChangedDate: 2014-03-29 02:30:21 -0500 (Sat, 29 Mar 2014) $
// $LastChangedRevision: 1 $
// $LastChangedBy: mercyful $

# ifndef MSG_MBJAM_H
# define MSG_MBJAM_H

Expand Down Expand Up @@ -96,15 +90,11 @@ struct MemMessage {
uint8_t Type;
uint16_t Flags;

uint32_t HighWater; // Total Messages (Includes Deleted)
uint32_t Active; // Active Messages (Excludes Deleted)
uint32_t CurrMsg; // Current Message
uint32_t HighWater;
uint32_t Active;
uint32_t CurrMsg;

std::string TextChunks;

//struct jbList TextChunks;
//struct jbList SeenBy;
//struct jbList Path;
};

struct openbase {
Expand All @@ -115,13 +105,13 @@ struct openbase {

struct jam_Area {
struct jam_Area *Next;
mb_list_rec *area; // struct Area *area;
mb_list_rec *area;
s_JamBase *Base_PS;
uint32_t BaseNum;
uint32_t OldNum;
uint32_t OldHighWater;
uint32_t HighWater;
uint32_t Active; // Only Active, Excluding delete messages.
uint32_t Active;
BOOL newmsg;
};

Expand Down
Loading

0 comments on commit dc67017

Please sign in to comment.